cyber_alchemist Posted October 4, 2013 Share Posted October 4, 2013 SELECT * FROM tourDB WHERE tour_type = insta_deals I want to get the row where the column tour_type has a value of 'insta_deals' Link to comment https://forums.phpfreaks.com/topic/282701-where-is-my-sytax-error-please-guide/ Share on other sites More sharing options...
Ch0cu3r Posted October 4, 2013 Share Posted October 4, 2013 insta_deals needs to be wrapped in quotes. otherwise mysql will treat it is a column name, not a column value Link to comment https://forums.phpfreaks.com/topic/282701-where-is-my-sytax-error-please-guide/#findComment-1452533 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.