Hi!
I am using this code, which should and does work when i run a manual query from mysql-front interface but when i call it from php i get:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in ..
What the hell is wrong? As i see, theres nothing wrong with it !!! It's driving me crazy !!!
Here's the code:
$News_query = mysql_query("SELECT * FROM News WHERE ID='$NID'");
$News = mysql_fetch_array($News_query);
Thank you 🙂