Rãspuns: [PHP] Re: Rãspuns: [PHP] Insert with forms

From: Date: Fri, 29 Sep 2000 16:28:25 +0000
Subject: Rãspuns: [PHP] Re: Rãspuns: [PHP] Insert with forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18059@lists.php.net to get a copy of this message
Yes you can but use echo '....'; not echo "..." because you already use " in the JavaScript snippet Ovidiu -----Mesaj original----- De la: php-general-return-18053-eovidiu=rds.ro@lists.php.net [mailto:php-general-return-18053-eovidiu=rds.ro@lists.php.net]În numele manohar sadhasivam Trimis: Friday, September 29, 2000 10:19 PM Catre: eovidiu@rds.ro Cc: php-general@lists.php.net Subiect: [PHP] Re: Rãspuns: [PHP] Insert with forms Hi, thankyou. But i have one more doubt. I create that form with html included within echo" ..." in a php, that is, i present this form after i get a previous form. So, can i include javascript also like html within php using echo" "? I tried, but it does not seem to work.please help >From: "Ovidiu EFTIMIE" <eovidiu@rds.ro> >To: "manohar sadhasivam" <sadhasivammanohar@hotmail.com>, ><php-general@lists.php.net> >Subject: Rãspuns: [PHP] Insert with forms >Date: Fri, 29 Sep 2000 17:17:39 +0200 > >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 > _________________________________________________________________________ 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 (#18059) next »