Probleme erreur SQL
Résolu
smiley5555
Messages postés
80
Date d'inscription
Statut
Membre
Dernière intervention
-
ThEBiShOp Messages postés 8411 Date d'inscription Statut Contributeur Dernière intervention -
ThEBiShOp Messages postés 8411 Date d'inscription Statut Contributeur Dernière intervention -
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE pseudo="test"' at line 1
Voila j'ai cette erreur SQL et voici mon code
if(isset($_POST['pseudo'])) { $sql2 = 'SELECT COUNT(*) AS nbr WHERE pseudo="'.mysql_real_escape_string($_POST['pseudo']).'"'; $query2 = mysql_query($sql2) or exit(mysql_error()); $donnees2 = mysql_fetch_assoc($query2); }
A voir également:
- Probleme erreur SQL
- Erreur 0x80070643 - Accueil - Windows
- Erreur 0x80070643 Windows 10 : comment résoudre le problème de la mise à jour KB5001716 - Accueil - Windows
- J'aime par erreur facebook notification - Forum Facebook
- Code erreur f3500-31 ✓ - Forum Bbox Bouygues
- Java code erreur 1603 ✓ - Forum Windows