Ver Mensaje Individual
  #5 (permalink)  
Antiguo 15/09/2005, 13:38
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
En un mismo script puedes mostrar y grabar nuevos datos, podrias intentar una estructura mas o menos asi:

Código PHP:
<html>
<body>
     <?php
        
//codigo para mostrar los registros
     
?>
<form name="form1" method="POST" action="<?php echo $_SERVER['PHP_SELF'];?>">
<input type="text" name="algo">
<input type="submit" name="grabar" value="Grabar">
    <?php
         
//verifica si se presionó el boton submit
         
if (issset($_POST['grabar']))
         {
             
//codigo para grabar
         
}
    
?>
</form>
<body>
</html>