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

2008-12-08 Thread Bhupendra Patel
and 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. ?php session_start(); // store session data $_SESSION['form'] = 1

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. ?php session_start(); // store session data $_SESSION['form'] = 1; ? 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