Enécrivant ceci :
Code : Tout sélectionner
$sql = $UPDATE brice SET text='$text' , prix='$prix' WHERE ID='$text' OR ID='$text' ";
Code : Tout sélectionner
Unknown column 'ID' in 'where clause'diabolo
Code : Tout sélectionner
$sql = $UPDATE brice SET text='$text' , prix='$prix' WHERE ID='$text' OR ID='$text' ";
Code : Tout sélectionner
Unknown column 'ID' in 'where clause'
Tu as bien regardé ta requêteCode : Tout sélectionner
$sql = $UPDATE brice SET text='$text' , prix='$prix' WHERE ID='$text' OR ID='$text' ";
$sql = "UPDATE brice SET text='". $text ."' , prix='". $prix ."' WHERE ID='$id'";Code : Tout sélectionner
$sql = "UPDATE brice SET text='". $text ."' , prix='". $prix ."' WHERE ID='$id'";Code : Tout sélectionner
Unknown column 'ID' in 'where clause'$sql = "UPDATE brice SET text='". $text ."' , prix='". $prix ."' WHERE Numlogin='". $id ."'";
Code : Tout sélectionner
$text = mysql_escape_string ($text);
$prix = mysql_escape_string ($prix);
$sql = "UPDATE brice SET text='". $text ."' , prix='". $prix ."' WHERE Numlogin='". $id ."'";
$res = mysql_query($sql) or die (mysql_error() ) ; Code : Tout sélectionner
UPDATE brice SET text=' 1234et 5678 ' , prix='' WHERE NumLogin=''
Warning: Cannot modify header information - headers already sent by (output started at /home/diapason/www/brice/modif.php:23) in /home/diapason/www/brice/modif.php on line 27