Re: Limiting the insert operation
| From: | Web Master | Date: | Fri, 29 Sep 2000 13:55:56 +0000 |
| Subject: | Re: Limiting the insert operation | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18044@lists.php.net to get a copy of this message | ||
One option is to check the primary key before inserting or create an index
for the primary key. This will solve your problem.
-Unni
manohar sadhasivam wrote:
> Hi all,
> I am executing an insert operation into Mysql thro' a form. How can i
> control the operation such that the insert is executed only once?(If the
> user clicks the submit many times, multiple inserts should not occur).
> Please help.
> cheers,
>
> mano
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at
> http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net