How to unset a post variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I have another little question hehe :D, i have a page with a form where the user insert data and can click in a new,edit or delete button. I've make that when a button is clicked the page refresh and in the head of the page i have conditions like this: if ($_POSt["buttonNew"]!="") { insert commands.. } , etc

My question is, how can i unset $_POST["buttonNew"] or leave it empty because when the user refresh the page make insert commans again because the $_POST["buttonNew"] arent empty.

Thx in advance for all *^_^*

--
Mario de Frutos Dieguez

División de Ingeniería del Software
y Comunicaciones


CARTIF -Parque Tecnológico Boecillo

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux