Mysql_fetch_array() expects parameter 1
Fermé
merlyone
Messages postés
25
Date d'inscription
vendredi 12 mars 2010
Statut
Membre
Dernière intervention
15 novembre 2011
-
1 nov. 2011 à 00:43
Gauthier - 8 juin 2020 à 07:28
Gauthier - 8 juin 2020 à 07:28
A voir également:
- Mysqli_fetch_array() expects parameter 1 to be mysqli_result, bool given in
- Cvbs in 1 - Forum Autoradio
- Aux in - Forum Audio
- In da place - Forum Mail
- Qwerty to azerty - Guide
- Press esc in 1 seconds to skip startup.nsh any other key to continue - Forum Windows 10
1 réponse
jojo673
Messages postés
210
Date d'inscription
lundi 19 septembre 2011
Statut
Membre
Dernière intervention
9 avril 2014
44
1 nov. 2011 à 01:18
1 nov. 2011 à 01:18
mysql_fetch_array() prend comme paramètre la réponse de mysql_query(), hors ici une requête est passé en paramètre... il faut donc faire :
$reponse = mysql_query($req) or die('Erreur SQL !'.$req.'<br>'.mysql_error()); while($lignes=mysql_fetch_array($reponse)) ...
1 nov. 2011 à 02:57
8 déc. 2015 à 22:54
8 juin 2020 à 07:28