Warning: mysql_fetch_array() expects parameter 1 to be resource
Résolu/Fermé
Nex0r95
Messages postés
2
Date d'inscription
samedi 26 octobre 2013
Statut
Membre
Dernière intervention
26 octobre 2013
-
26 oct. 2013 à 22:03
Nex0r95 Messages postés 2 Date d'inscription samedi 26 octobre 2013 Statut Membre Dernière intervention 26 octobre 2013 - 26 oct. 2013 à 23:35
Nex0r95 Messages postés 2 Date d'inscription samedi 26 octobre 2013 Statut Membre Dernière intervention 26 octobre 2013 - 26 oct. 2013 à 23:35
A voir également:
- Mysql_fetch_array() expects parameter 1 to be resource, boolean given in
- Quota warning free - Guide
- Warning your dimm1 and dimm2 module organization is not same please check it - Forum PC portable
- Warning: undefined array key ✓ - Forum PHP
- Pcl xl error warning illegal media type - Forum Imprimante
- Warning: trying to access array offset on value of type bool ✓ - Forum PHP
2 réponses
Utilisateur anonyme
26 oct. 2013 à 23:28
26 oct. 2013 à 23:28
bonsoir,
veux-tu ajouter or die(mysql_error()) à ta première ligne de code comme ceci:
$sql = mysql_query("SELECT * FROM shop WHERE type = 'badge' ORDER BY cat ASC") or die(mysql_error());
tu as probablement une erreur dans requête mysql ...
veux-tu ajouter or die(mysql_error()) à ta première ligne de code comme ceci:
$sql = mysql_query("SELECT * FROM shop WHERE type = 'badge' ORDER BY cat ASC") or die(mysql_error());
tu as probablement une erreur dans requête mysql ...
Nex0r95
Messages postés
2
Date d'inscription
samedi 26 octobre 2013
Statut
Membre
Dernière intervention
26 octobre 2013
26 oct. 2013 à 23:35
26 oct. 2013 à 23:35
Ça m'a l'air bon, c'est fonctionnel.
Merci
Merci