Système de news, l'édition ne fonctionne pas
Résolu/Fermé
Geopra
Messages postés
187
Date d'inscription
mercredi 16 septembre 2015
Statut
Membre
Dernière intervention
7 juin 2017
-
14 janv. 2017 à 12:57
yg_be Messages postés 22720 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 23 avril 2024 - 14 janv. 2017 à 14:48
yg_be Messages postés 22720 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 23 avril 2024 - 14 janv. 2017 à 14:48
A voir également:
- Système de news, l'édition ne fonctionne pas
- Restauration systeme windows 10 - Guide
- Macrium reflect 7 free edition - Télécharger - Sauvegarde
- Everest home edition - Télécharger - Informations & Diagnostic
- Comment refaire le système d'un ordinateur - Guide
- Minecraft pocket edition pc - Télécharger - Éducatifs
2 réponses
NHenry
Messages postés
15113
Date d'inscription
vendredi 14 mars 2003
Statut
Modérateur
Dernière intervention
22 avril 2024
331
14 janv. 2017 à 13:33
14 janv. 2017 à 13:33
Il est où ton WHERE dans ta requête UPDATE ?
yg_be
Messages postés
22720
Date d'inscription
lundi 9 juin 2008
Statut
Contributeur
Dernière intervention
23 avril 2024
1 476
14 janv. 2017 à 14:48
14 janv. 2017 à 14:48
bonjour. par exemple:
$newsid=$_GET['id']; if(empty($erreurs)){ $req = $pdo->prepare("UPDATE news SET news_title = ?, news_content = ? WHERE id = ?"); $req->execute([$_POST['news_title'], $_POST['news_content'],$newsid]);
14 janv. 2017 à 13:35
14 janv. 2017 à 13:38
14 janv. 2017 à 14:12