El Fri, 12 Jan 2007 03:27:12 -0500 "Beauford" <phpuser@xxxxxxxxxx> escribió: > Hi, > > How do I stop contents of a form from being readded to the database > if the user hits the refresh button on their browser. > > I have tried to unset/destroy the variables in several different > ways, but it still does it. > > After the info is written I unset the variables by using unset($var1, > $var2, $etc). I have also tried unset($_POST['var1'], $_POST['var2'], > $_POST['etc']). I even got deperate and tried $var = ""; or > $_POST['var'] = ""; > > What do I need to do to get rid of these values??? Obviously I am > missing something. > > Any help is appreciated. > > Thanks > Maybe you can check the IP and see if it has already save the data or not. -- Miguel J. Jiménez Área de Internet/XSL migueljose.jimenez@xxxxxxxxxxx ---------------------------------------------------- ISOTROL Edificio BLUENET, Avda. Isaac Newton nº3, 4ª planta. Parque Tecnológico Cartuja '93, 41092 Sevilla. Teléfono: 955 036 800 - Fax: 955 036 849 http://www.isotrol.com "Siempre intento salvar una vida al día. Normalmente es la mía" (John Crichton, FARSCAPE 1x07) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php