WHERE IN expression of MYSQL is used in queries: so use this expressione in query that you use to create variable $result,
$result=mysql_query("Select CategoryID, Categories from my_table where CategoryID IN (..,..,..,...) ");
Write, please, if I understood your problem correctly.
Codes here !
1 post • Page 1 of 1