dennismonsewicz Posted January 30, 2009 Share Posted January 30, 2009 from my take on the mysql IN operator it looks inside a particular column for the values specified in an array? *edit: topic extended from http://www.phpfreaks.com/forums/index.php/topic,236529.0.html Link to comment https://forums.phpfreaks.com/topic/143185-solved-mysql-in-operator/ Share on other sites More sharing options...
revraz Posted January 30, 2009 Share Posted January 30, 2009 I don't know if I would classify it as an array, since you tell it what it's IN (1, 2, 3). Link to comment https://forums.phpfreaks.com/topic/143185-solved-mysql-in-operator/#findComment-750977 Share on other sites More sharing options...
premiso Posted January 30, 2009 Share Posted January 30, 2009 http://www.phpfreaks.com/forums/index.php/topic,236529.msg1100910.html#msg1100910 Link to comment https://forums.phpfreaks.com/topic/143185-solved-mysql-in-operator/#findComment-750980 Share on other sites More sharing options...
dennismonsewicz Posted January 30, 2009 Author Share Posted January 30, 2009 but wouldn't your example still be an array? 1,2,3 isn't an array? Link to comment https://forums.phpfreaks.com/topic/143185-solved-mysql-in-operator/#findComment-750982 Share on other sites More sharing options...
PFMaBiSmAd Posted January 30, 2009 Share Posted January 30, 2009 Right from the Horse's mouth - http://dev.mysql.com/doc/refman/5.1/en/comparison-operators.html#function_in Link to comment https://forums.phpfreaks.com/topic/143185-solved-mysql-in-operator/#findComment-750984 Share on other sites More sharing options...
dennismonsewicz Posted January 30, 2009 Author Share Posted January 30, 2009 thanks that "bale of hay" was very useful and I looked at this before... for some reason it clicked this time... thanks again! Link to comment https://forums.phpfreaks.com/topic/143185-solved-mysql-in-operator/#findComment-750985 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.