How to unset a post variable

From: Date: Fri, 15 Apr 2005 12:08:36 +0000
Subject: How to unset a post variable
Groups: php.general 
Request: Send a blank email to php-general+get-213137@lists.php.net to get a copy of this message
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

« previous php.general (#213137) next »