- Home
- Categorie
- Coding e Sistemistica
- MYSQL e altri Database
- mysql_fetch_array(): supplied argument is not a valid MySQL result resource
-
mysql_fetch_array(): supplied argument is not a valid MySQL result resource
$query_user1 = mysql_query("SELECT * FROM $valore WHERE group='$nostro' LIMIT $rand, 1");
Problema: mysql_fetch_array(): supplied argument is not a valid MySQL result resource...
Come mai?
-
Ciao,
usa:
[php]$query_user1 = mysql_query("SELECT * FROM $valore WHERE group='$nostro' LIMIT $rand, 1") or die(mysql_error());[/php]
Per vedere se la query è corretta.