(mysql): SELECT COUNT(*) FROM hotel_newswire AS xyz LEFT JOIN hotel_newswire_categories ON hotel_newswire_categories.category_id = xyz.fk_category_id LEFT JOIN hotel_newswire_status ON hotel_newswire_status.status_id = xyz.fk_status_id WHERE xyz.fk_status_id = 1 AND (xyz.fk_category_id = ) AND (xyz.date_of_release <= '2010-09-02')
ERROR: 1064: 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 (xyz.date_of_release <= '2010-09-02')' at line 1
(mysql): SELECT xyz.*,hotel_newswire_categories.name AS category,hotel_newswire_categories.seo_url AS category_seo_url,hotel_newswire_status.name AS status FROM hotel_newswire AS xyz LEFT JOIN hotel_newswire_categories ON hotel_newswire_categories.category_id = xyz.fk_category_id LEFT JOIN hotel_newswire_status ON hotel_newswire_status.status_id = xyz.fk_status_id WHERE xyz.fk_status_id = 1 AND (xyz.fk_category_id = ) AND (xyz.date_of_release <= '2010-09-02') ORDER BY xyz.date_of_release DESC, xyz.article_id DESC LIMIT 0,10
ERROR: 1064: 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 (xyz.date_of_release <= '2010-09-02') ORDER BY xyz.date_of_release DESC, x' at line 1

Warning: Invalid argument supplied for foreach() in /home/hotelexecutive/public_html/lib/Template.php on line 200
HotelExecutive.com - Newswire -

HotelExecutive.com

Hotel Newswire

Free daily news distribution for hotels.
Share |