Equestrian Life is an online community for horse people.
We bring together horse people across all disciplines, breeds and sports.
We invite you to connect with others who love horses as much as you do.
Has been an Equestrian Life Member since December 31, 1969, . You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND status=1' at line 4
SQL: SELECT h.id AS HORSEID, h.barn_name, h.show_name, h.sex, h.breed, h.breed2
FROM horses h
WHERE h.userid=
AND status=1