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_LNG1 as DayTitle, GDE_Trips_Uge78.Title_LNG1 as Title, GDE_Trips_Uge78.ShortTitle_LNG1 as ShortTitle, GDE_Trips_Uge78.Price, GDE_Trips_Uge78.BeginTime, GDE_Trips_Uge78.EndTime, GDE_Trips_Uge78.Description_LNG1 as Description, GDE_Trips_Uge78.ShortDescription_LNG1 as ShortDescription, GDE_Trips_Uge78.ShortDescriptionList_LNG1 as ShortDescriptionList, GDE_Trips_Uge78.Comments_LNG1 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