Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/08/2008, 09:11
milla21
 
Fecha de Ingreso: julio-2008
Mensajes: 3
Antigüedad: 15 años, 9 meses
Puntos: 0
Respuesta: Formulario medio vacio

Gracias por la Bienvenida :)

hice los dos cambios que me sugirieron (con una modificacion a <?=$_SERVER['PHP_SELF']?> ):

echo '<td><form method="POST" action="'.$_SERVER["PHP_SELF"].'"></td>';
echo '<td><input type="text" name="valor"></td>';

'<td>$val = $_POST["valor"]</td>';
echo '<td><input type="submit" value="Actualizar" name="cambiar"></td>';
'<td>$titulo = $registro_sub["title"]</td>';
if(isset($_POST['cambiar']))
{ echo '<td>$_POST["valor"]</td>';
$updt_sub = mysql_query("UPDATE jos_facileforms_subrecords SET value=$val WHERE title=$registro_sub["title"]";}
echo '</tr>';

Y no funciono :(