
05/11/2008, 08:28
|
 | | | Fecha de Ingreso: febrero-2008
Mensajes: 2.183
Antigüedad: 17 años Puntos: 52 | |
Respuesta: No me modifica los cambios La cosa se complica.
quitale las comillas simples a todo lo que sea un valor numerico
$sql2=("UPDATE room SET status_code='$status', room_number='$txtroom'
, room_ type_id=$room_type, ammenities=$txtarriveNotes, kitchenette=$kitchenette,std_rate='$txtweekday' ,special_rate_1=$txtweekend where id=$id");
PERO que es todo esto que esta en negrita
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 'type_id='1', ammenities='Telephone, shower, iron and board, luggage rac, hair dr' at line 2 |