Ver Mensaje Individual
  #14 (permalink)  
Antiguo 12/01/2009, 21:37
letni
 
Fecha de Ingreso: octubre-2008
Mensajes: 276
Antigüedad: 15 años, 6 meses
Puntos: 1
Respuesta: Impedir que se reenvíen los datos al regargar la página

¿Entonces mi código debería de quedar así?

Código PHP:
<?php
   $link 
mysql_connect("localhost""user""0000");
   
mysql_select_db("Prueba"$link);
   
$Select mysql_query("select * from Producto");
   if (!empty(
$_POST)) {
      
// Inserciones varias...
      
header('Location: archivo.php');
   } 
   echo 
"Inserciones realizadas";
?>