...

View Full Version : mysql include?



markman641
08-19-2011, 02:48 AM
This seems like a really simple question, i have


$get_name = mysql_query("SELECT `id`, `name`, `link`, `value`, `description` from `offers` WHERE `countries` = 'us' LIMIT 0, 25");

how would i make it so its
WHERE `countries` INCLUDES 'us' ?

markman641
08-19-2011, 03:12 AM
nevermind! google helped me. it was where 'countries' like '%us%'



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum