Re: Limiting the insert operation
| From: | Cameron Brunner | Date: | Fri, 29 Sep 2000 14:20:25 +0000 |
| Subject: | Re: Limiting the insert operation | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18046@lists.php.net to get a copy of this message | ||
a simple thing like a unique column should do the trick for the most part
Cameron Brunner
Director of Operations
dynomyte.net
Web Master wrote:
> 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
>
> --
> 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