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 !