Rãspuns: [PHP] Insert with forms

From: Date: Fri, 29 Sep 2000 15:17:39 +0000
Subject: Rãspuns: [PHP] Insert with forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18048@lists.php.net to get a copy of this message
Hi, Use this JavaScript snippet to prevent a user resubmiting a form. <SCRIPT LANGUAGE="javascript"> var submitcount=0; function checkSubmit(s) if (submitcount == 0) { submitcount++; s.value = " Sending... "; return true; } else { alert("This form has already been submitted. Thanks!"); return false; } } </SCRIPT> <input type="button" value="Proceed" name="send" onClick="if (checkSubmit(this.form.send)) this.form.submit();"> -----Mesaj original----- De la: php-general-return-18038-eovidiu=rds.ro@lists.php.net [mailto:php-general-return-18038-eovidiu=rds.ro@lists.php.net]În numele manohar sadhasivam Trimis: Friday, September 29, 2000 8:12 PM Catre: php-general@lists.php.net Subiect: [PHP] Insert with forms Hi all, How can i limit the insert operation into a Mysql table exactly one time thro' a form. Please help, i have no clues. Mano "sadhasivammanohar@hotmail.com" _________________________________________________________________________ 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

« previous php.general (#18048) next »