Re: [PHP] How to unset a post variable (SOLVED)

2005-04-18 Thread Mario de Frutos Dieguez
Richard Lynch escribió: On Mon, April 18, 2005 9:42 pm, Chris Kay said: unset($_POST['buttonNew']); wont work? Sure it "works" It's just not useful in the context of this thread :-) How do you know to unset it the second time when they hit "refresh" (aka "reload") though? I should have said

Re: [PHP] How to unset a post variable

2005-04-18 Thread Richard Lynch
On Mon, April 18, 2005 9:42 pm, Chris Kay said: > > unset($_POST['buttonNew']); > wont work? Sure it "works" It's just not useful in the context of this thread :-) How do you know to unset it the second time when they hit "refresh" (aka "reload") though? I should have said "won't solved that sp

Re: [PHP] How to unset a post variable

2005-04-18 Thread Chris Kay
unset($_POST['buttonNew']); wont work? CK On Mon, Apr 18, 2005 at 08:25:04PM -0700, Richard Lynch wrote: > On Fri, April 15, 2005 5:08 am, Mario de Frutos Dieguez said: > > 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,edi

Re: [PHP] How to unset a post variable

2005-04-18 Thread Richard Lynch
On Fri, April 15, 2005 5:08 am, Mario de Frutos Dieguez said: > 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 hav

Re: [PHP] How to unset a post variable

2005-04-15 Thread Angelo Zanetti
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 Diegue

[PHP] How to unset a post variable

2005-04-15 Thread Mario de Frutos Dieguez
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