Answer the question
In order to leave comments, you need to log in
How to drive all the news of one category into an array?
Hello, I want to add all the news of one category to 1 array, I did it like this but it doesn’t work
$cat = "it-new";
$resultat = mysql_query("SELECT * FROM `cms_v1.2` WHERE `Categoria` = $cat",$db);
$data = mysql_fetch_array($resultat);
print_r ($resultat);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question