mapleleaf Posted January 2, 2010 Share Posted January 2, 2010 SELECT * FROM articles WHERE theme_id = 4 AND WHERE second_theme IN ( 15 ) gives a sql eror but both the WHERE clauses run ok alone. What I am I missing in the AND process? Must be very simple but noyt for me!! Link to comment https://forums.phpfreaks.com/topic/186900-where-in-not-working-with-and/ Share on other sites More sharing options...
trq Posted January 2, 2010 Share Posted January 2, 2010 SELECT * FROM articles WHERE theme_id = 4 AND second_theme IN ( 15 ) Link to comment https://forums.phpfreaks.com/topic/186900-where-in-not-working-with-and/#findComment-986997 Share on other sites More sharing options...
mapleleaf Posted January 2, 2010 Author Share Posted January 2, 2010 Perfect!! Thanks Link to comment https://forums.phpfreaks.com/topic/186900-where-in-not-working-with-and/#findComment-987005 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.