Re: [PHP] Refresh (F5) adds another SQL record.

2008-12-08 Thread Bhupendra Patel
submitted the form. 2008/12/7 Ashley Sheridan <[EMAIL PROTECTED]> > On Sun, 2008-12-07 at 16:44 +, Bhupendra Patel wrote: > > I've found a way that works for me. > > > > Using the START SESSION on the initial form, e.g. > > > session_start(); > >

Re: [PHP] Refresh (F5) adds another SQL record.

2008-12-07 Thread Bhupendra Patel
I've found a way that works for me. Using the START SESSION on the initial form, e.g. and the using the code below in the processing form. You can do a check if the user has already submitted the from by the initial session that starts then he/she is on the submitting form. If it is already set