how would I go about using a
$categories = '1,3,4';
then splitting them up so they come out with a mysql query like this:
SELECT * FROM news WHERE cat_id='1' AND cat_id='3' AND cat_id='4' ORDER BY date LIMIT 5
I tried using functions like
explode() list() foreach()etc, but I haven't found anything that works yet.
can anyone give me some advice on how I would need to do this?