Re: How to unset a post variable

From: Date: Fri, 15 Apr 2005 15:06:43 +0000
Subject: Re: How to unset a post variable
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213146@lists.php.net to get a copy of this message
well this might help, you can see the referrer page from which the current one was accessed. this is javascript though but it might help depending on your situation. cheers Angelo Zanetti Z Logic [c] +27 72 441 3355 [t] +27 21 464 1363 [f] +27 21 464 1371 www.zlogic.co.za Mario de Frutos Dieguez wrote:
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 *^_^*


« previous php.general (#213146) next »