Call to a member function execute()
Résolu/Fermé
BuddyLove_x52
Messages postés
123
Date d'inscription
dimanche 12 janvier 2014
Statut
Membre
Dernière intervention
16 mai 2017
-
25 janv. 2015 à 20:56
hharchi9 Messages postés 567 Date d'inscription mercredi 18 décembre 2013 Statut Membre Dernière intervention 1 juillet 2015 - 23 févr. 2015 à 18:10
hharchi9 Messages postés 567 Date d'inscription mercredi 18 décembre 2013 Statut Membre Dernière intervention 1 juillet 2015 - 23 févr. 2015 à 18:10
A voir également:
- Fatal error: uncaught error: call to a member function execute() on bool
- Fan error lenovo ✓ - Forum Refroidissement
- Cmos checksum error ✓ - Forum Carte-mère/mémoire
- LENOVO fan error au démarrage - Forum Refroidissement
- A disk read error occurred ✓ - Forum Windows
- Fatal error: uncaught error: call to a member function fetch() on bool ✓ - Forum PHP
2 réponses
hharchi9
Messages postés
567
Date d'inscription
mercredi 18 décembre 2013
Statut
Membre
Dernière intervention
1 juillet 2015
24
29 janv. 2015 à 20:26
29 janv. 2015 à 20:26
Bonsoir,
Je pense que c'est cette ligne qui pose problème :
Il faut mettre :
Je pense que c'est cette ligne qui pose problème :
$req->execute (array($_POST['pseudo'], $_POST['commentaire'], $_GET['id']));
Il faut mettre :
$req->execute (array(:pseudo => $_POST['pseudo'], :commentaire => $_POST['commentaire'], :id =>$_GET['id']));