hi
i am trying to do something like this
$query="SELECT * FROM products WHERE id=3&&7";
so below i can print out the two results however i dont know how to do it and i cant find anywhere that tells me how to.
Can anybody help
thanks
simon
I presume from your question you want product 3 and product 7 returned.
You there fore need to use:
SELECT * FROM products where id = 3 OR id = 7;