Re: [PHP] Problems with $_POST

2004-01-21 Thread Reidar Solberg
Thank you all for answers - I've got one problem less!!! - Reidar "Binay" <[EMAIL PROTECTED]> skrev i melding news:[EMAIL PROTECTED] Hi What is the primary key in your tble? Using tht primary key check for duplicate entry... Theres no way u can change the posted data ... so even if u reset $_POS

RE: [PHP] Problems with $_POST

2004-01-21 Thread Donald Tyler
nd them to: www.mysite.com/accounts/pages/InvoiceSuccess.php -Original Message- From: Aidan Lister [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 21, 2004 4:01 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Problems with $_POST Or, After you've dumped the data into the DB, issue a h

Re: [PHP] Problems with $_POST

2004-01-21 Thread Aidan Lister
gt; { >$_SESSION[$this->tokenarray][$tok] = true; >return true; > } > } > } > ?> > > hth > > toby > > > - Original Message - > From: "Binay" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; "Reidar So

Re: [PHP] Problems with $_POST

2004-01-21 Thread Toby Irmer
;tokenarray][$tok] = true; return true; } } } ?> hth toby - Original Message - From: "Binay" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Reidar Solberg" <[EMAIL PROTECTED]> Sent: Wednesday, January 21, 2004 9:23 AM Subject: Re: [PHP] Probl

Re: [PHP] Problems with $_POST

2004-01-21 Thread Binay
Hi What is the primary key in your tble? Using tht primary key check for duplicate entry... Theres no way u can change the posted data ... so even if u reset $_POST['submit'] after the insert operation is done, next time u refresh it will be set and hence will duplicate...so check for duplicat

[PHP] Problems with $_POST

2004-01-21 Thread Reidar Solberg
I have a FORM for entering data into a DB. I use: ... ... if ($_POST['submit'] == 'Register') { ... code for INSERT into DB. This works OK, but if I REFRESH the page, it duplicates the "dataset" in the table. How can I reset $_POST['submit'] so it don't make this happen? Rgds Reidar Solberg