Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/11/2007, 16:08
JavierCS2007-
 
Fecha de Ingreso: octubre-2007
Ubicación: Capital Federal
Mensajes: 215
Antigüedad: 16 años, 6 meses
Puntos: 1
Ayuda con Update

Hola gente... tengo un problema con los updates.

Un simple Form :
<Form method="Post" Action="Update.php">
Numero de registro.
<Input Type="text" Name="Test">
<Input Type="submit" Value="Update">
</Form>

Y la sentencia de update PHP :

<?php
IF (!empty($_POST["Test"]))
{
$Variable=$_POST['Test'];
$result=mysql_query("update base set campo1='UpdateOK' where Registro like
'$Variable')",$link);
}

No salta ningún error, pero no me actualiza el campo1 con el texto 'UpdateOK'

Que tengo mal ????

Mil gracias por las respuestas.

Javi !