
04/11/2008, 23:25
|
(Desactivado) | | Fecha de Ingreso: mayo-2007
Mensajes: 547
Antigüedad: 17 años, 10 meses Puntos: 1 | |
Respuesta: No me modifica los cambios te paso nuevamente el codigo haber si me puedes ayudar
$id=$_GET['id'];
if ($id==""){ echo" ";}
else{
$status=$_POST['status'];
$txtroom=$_POST['txtroom'];
$room_type=$_POST['room_type'];
$txtarriveNotes=$_POST['txtarriveNotes'];
$kitchenette=$_POST['kitchenette'];
$txtweekday=$_POST['txtweekday'];
$txtweekend=$_POST['txtweekend'];
include ("../include/conexion.php");
$db=mysql_select_db($base,$conexion) or die (mysql_error());
$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'");
$result=mysql_query($sql2,$conexion)or die (mysql_error());
}
?> |