No me recoje la variables del formulario, cuyo codigo es este:
Código PHP:
<?
//Conexion con la base
mysql_connect( "localhost", "root", "");
mysql_select_db("movedb");
$result=mysql_query("SELECT * FROM coordinador WHERE Id='".$_GET['Id']."'") or die (mysql_error());
?>
<?
//Mostramos los registros
while ($row=mysql_fetch_array($result))
{
echo "<form method='post' action='guardar_actualizacion.php?Id=".$row['Id']."'";
echo "Id: <input type='text' name='Id' size='4' value=\"".$row['Id']."\"><BR>";
echo "Programa: <input type='text' name='Cargo' size='60' value=\"".$row['Cargo']."\"><BR>";
echo "Profesor: <input type='text' name='Profesor' size='50' value=\"".$row['Profesor']."\"><BR>";
echo "Enlace: <input type='text' name='Enlace' size='50' value=\"".$row['Enlace']."\"><BR>";
echo "Telf. Habitación: <input type='text' name='Tele_habit' size='10' value=\"".$row['Tel_habitacion']."\"><BR>";
echo "Telf. Celular: <input type='text' name='Tel_celul' size='10' value=\"".$row['Tel_celular']."\"><BR>";
echo "E-mail: <input type='text' name='E_mail' size='50' value=\"".$row['E_mail']."\"><BR>";
echo "Telf. Enlace Hab.: <input type='text' name='Tel_enla_habit' size='10' value=\"".$row['Tel_enla_habitacion']."\"><BR>";
echo "Telf. Enlace Celul: <input type='text' name='Tel_enla_celul' size='10' value=\"".$row['Tel_enla_celular']."\"><BR>";
echo "E-mail Enlace: <input type='text' name='E_mail_enla' size='10' value=\"".$row['E_mail_enla']."\"><BR>";
}
mysql_free_result($result)
?>
Por lo me dice que ya actualizo, me borra todo el registro de la Bd por llevar la variable vacia, alguien me explica que es lo que esta pasando???