Ver Mensaje Individual
  #9 (permalink)  
Antiguo 12/01/2009, 21:25
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

Cita:
Iniciado por pateketrueke Ver Mensaje
ponlo al final.. del script??
Ahora tengo esto:

archivo.php

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