*** MySQL Query Error...
Query: SELECT event.title, UNIX_TIMESTAMP(event.date) AS date, event.event_id, photo.photo_id, photo.thumb_x, photo.thumb_y FROM event INNER JOIN photo ON event.event_id = photo.event_id WHERE photo.event_id = GROUP BY event.event_id ORDER BY event.date DESC
Error: 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 'GROUP BY event.event_id ORDER BY event.date DESC' at line 1