Problème base de données MySql
Résolu/Fermé
IIwayII
Messages postés
28
Date d'inscription
vendredi 12 mars 2021
Statut
Membre
Dernière intervention
23 juin 2021
-
12 mars 2021 à 19:17
jordane45 Messages postés 38150 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 29 avril 2024 - 12 mars 2021 à 22:44
jordane45 Messages postés 38150 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 29 avril 2024 - 12 mars 2021 à 22:44
A voir également:
- Problème base de données MySql
- Formules excel de base - Guide
- Tnt base de données vide - Forum TNT / Satellite / Réception
- Supprimer une base de données phpmyadmin ✓ - Forum Logiciels
- Exemple base de données access à télécharger gratuit ✓ - Forum Logiciels
- Désolé l'utilisation de la base de données a expiré epic games - Forum Jeux vidéo
2 réponses
jordane45
Messages postés
38150
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
29 avril 2024
4 651
12 mars 2021 à 19:20
12 mars 2021 à 19:20
Bonjour
Commence par ça
https://forums.commentcamarche.net/forum/affich-37584941-php-pdo-gerer-les-erreurs
Commence par ça
https://forums.commentcamarche.net/forum/affich-37584941-php-pdo-gerer-les-erreurs
IIwayII
Messages postés
28
Date d'inscription
vendredi 12 mars 2021
Statut
Membre
Dernière intervention
23 juin 2021
12 mars 2021 à 19:30
12 mars 2021 à 19:30
Ok merci j'obtiens cela :
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''membre'' at line 1 in C:\MAMP\htdocs\Therzord\inscription_post.php:61 Stack trace: #0 C:\MAMP\htdocs\Therzord\inscription_post.php(61): PDOStatement->execute(Array) #1 {main} thrown in C:\MAMP\htdocs\Therzord\inscription_post.php on line 61
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ''membre'' at line 1 in C:\MAMP\htdocs\Therzord\inscription_post.php:61 Stack trace: #0 C:\MAMP\htdocs\Therzord\inscription_post.php(61): PDOStatement->execute(Array) #1 {main} thrown in C:\MAMP\htdocs\Therzord\inscription_post.php on line 61
jordane45
Messages postés
38150
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
29 avril 2024
4 651
12 mars 2021 à 19:47
12 mars 2021 à 19:47
Et à quelle ligne de code corrspond la ligne 61 du fichier C:\MAMP\htdocs\Therzord\inscription_post.php
De plus,. Montre nous le code modifié.
De plus,. Montre nous le code modifié.
Val987
>
jordane45
Messages postés
38150
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
29 avril 2024
12 mars 2021 à 22:33
12 mars 2021 à 22:33
Bonjour, j'ai trouvé comment régler le problème, il s'agissait d'un problème avec la fonction fetch(),
Merci
Merci
jordane45
Messages postés
38150
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
29 avril 2024
4 651
>
Val987
12 mars 2021 à 22:44
12 mars 2021 à 22:44
Tu penseras alors à marquer le sujet en résolu.