Notice: MYSQL ERROR QUERY_ASSOC: SELECT DISTINCT f.audio_id AS id, f.caption, CASE WHEN ISNULL(a.title) THEN '' ELSE a.title END AS title
FROM audio_files f
INNER JOIN galleries g ON f.gallery_id = g.gallery_id
LEFT OUTER JOIN animaltypes_to_audio t ON f.audio_id = t.audio_id
LEFT OUTER JOIN geofinder_animaltypes a ON t.animal_id = a.animal_id
WHERE f.active = 1
AND f.gallery_id =
AND g.office_id = 289
ORDER BY f.sort 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 g.office_id = 289
ORDER BY f.sort' at line 8 in /home/content/c/c/m/ccminnesota/html/manager/obj/database/mysql.php on line 675
Notice: MYSQL ERROR QUERY_ASSOC: SELECT DISTINCT f.audio_id AS id, f.caption, CASE WHEN ISNULL(a.title) THEN '' ELSE a.title END AS title
FROM audio_files f
INNER JOIN galleries g ON f.gallery_id = g.gallery_id
LEFT OUTER JOIN animaltypes_to_audio t ON f.audio_id = t.audio_id
LEFT OUTER JOIN geofinder_animaltypes a ON t.animal_id = a.animal_id
WHERE f.active = 1
AND f.gallery_id =
AND g.office_id = 501
ORDER BY f.sort 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 g.office_id = 501
ORDER BY f.sort' at line 8 in /home/content/c/c/m/ccminnesota/html/manager/obj/database/mysql.php on line 675