Re: [PHP-WIN] duplicate entry

2007-04-08 Thread Alf Stockton
Alf Stockton wrote: How do I disable Refresh and Back button. to Prevent duplicate entry I used :- ALTER TABLE table-name ADD CONSTRAINT NoDuplicates UNIQUE (Date,MemberNumber) Have a read of :- http://www.thescripts.com/forum/thread156807.html -- Regards, Alf Stocktonwww.s

Re: [PHP-WIN] duplicate entry

2007-04-08 Thread Alf Stockton
How do I disable Refresh and Back button. to Prevent duplicate entry I used :- ALTER TABLE table-name ADD CONSTRAINT NoDuplicates UNIQUE (Date,MemberNumber) -- Regards, Alf Stocktonwww.stockton.co.za Your love life will be... interesting. My email disclaimer is available at ww

Re: [PHP-WIN] duplicate entry

2007-04-08 Thread bedul
use session on your page.. - Original Message - From: "Jarrett Meyer" <[EMAIL PROTECTED]> To: Sent: Friday, April 06, 2007 8:12 AM Subject: Re: [PHP-WIN] duplicate entry > Sorry, but to answer the original question, PHP cannot interact with the client in this way. PHP resides with the se

RE: [PHP-WIN] Warning: Cannot modify header information

2007-04-08 Thread sam rumaizan
Thank you George, it works fine. as you said. there was a blank line bofeore wrote: Sam, > I have to different pages (forms) one.php and two.php I created > two different pages (onemysql.php and twomysql.php) to handle > myql data for each of them I add header("Location: one.php"); > to onemy

RE: [PHP-WIN] Warning: Cannot modify header information

2007-04-08 Thread George Pitcher
Sam, > I have to different pages (forms) one.php and two.php I created > two different pages (onemysql.php and twomysql.php) to handle > myql data for each of them I add header("Location: one.php"); > to onemysql.php > And header("Location: two.php"); to twomysql.php > one.php works fine.

[PHP-WIN] Warning: Cannot modify header information

2007-04-08 Thread sam rumaizan
I have to different pages (forms) one.php and two.php I created two different pages (onemysql.php and twomysql.php) to handle myql data for each of them I add header("Location: one.php"); to onemysql.php And header("Location: two.php"); to twomysql.php one.php works fine. two.php give me