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

Query: SELECT GDE_Trips_Jasna_Ski.ID, GDE_Trips_Jasna_Ski.UID, GDE_Trips_Jasna_Ski.Title_LNG3 as DayTitle, GDE_Trips_Jasna_Ski.Title_LNG3 as Title, GDE_Trips_Jasna_Ski.ShortTitle_LNG3 as ShortTitle, GDE_Trips_Jasna_Ski.Price, GDE_Trips_Jasna_Ski.BeginTime, GDE_Trips_Jasna_Ski.EndTime, GDE_Trips_Jasna_Ski.Description_LNG3 as Description, GDE_Trips_Jasna_Ski.ShortDescription_LNG3 as ShortDescription, GDE_Trips_Jasna_Ski.ShortDescriptionList_LNG3 as ShortDescriptionList, GDE_Trips_Jasna_Ski.Comments_LNG3 as Comments, GDE_Trips_Jasna_Ski.VideoUrl FROM GDE_Trips_Jasna_Ski WHERE GDE_Trips_Jasna_Ski.ID = AND GDE_Trips_Jasna_Ski.Active = 1 ORDER BY BeginTime in /usr/local/www/data/andel3w.com/www/GE/lib/GE.MySQL.lib.php on line 238