Fatal 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 'AND GDE_Trips_Uge78.Active = 1 ORDER BY BeginTime' at line 19

Query: SELECT GDE_Trips_Uge78.ID, GDE_Trips_Uge78.UID, GDE_Trips_Uge78.Title_LNG2 as DayTitle, GDE_Trips_Uge78.Title_LNG2 as Title, GDE_Trips_Uge78.ShortTitle_LNG2 as ShortTitle, GDE_Trips_Uge78.Price, GDE_Trips_Uge78.BeginTime, GDE_Trips_Uge78.EndTime, GDE_Trips_Uge78.Description_LNG2 as Description, GDE_Trips_Uge78.ShortDescription_LNG2 as ShortDescription, GDE_Trips_Uge78.ShortDescriptionList_LNG2 as ShortDescriptionList, GDE_Trips_Uge78.Comments_LNG2 as Comments, GDE_Trips_Uge78.VideoUrl FROM GDE_Trips_Uge78 WHERE GDE_Trips_Uge78.ID = AND GDE_Trips_Uge78.Active = 1 ORDER BY BeginTime in /usr/local/www/data/andel3w.com/www/GE/lib/GE.MySQL.lib.php on line 238