Warning: mysql_fetch_array
Ciao, avrei bisogno di aiuto,
l'errore è :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /web/htdocs/www.xxx.com/home/areariservata/ARstati.php on line 72
<?
mysql_select_db($db_name, $db);
$sql = "SELECT * FROM stati WHERE nome != 'Italy' ORDER BY nome";
$result = mysql_query($sql, $db);
If ($msg == 1) {
RIGA 72 : while($row = mysql_fetch_array($result)) {
Le tabelle nel db ci sono, quella stati no, c'è stato, ho provato ha cambiare ma nn funge lo stesso, perchè non và?
Grazie.