RE: [PHP] How to call PHP function from form button?

From: Date: Tue, 11 Jul 2000 22:12:14 +0000
Subject: RE: [PHP] How to call PHP function from form button?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6026@lists.php.net to get a copy of this message
//form.html <form method=post action="somescript.php"> <input type="text" name="myfield"> <input type="submit" name="submit" value="Submit"> </form> //somescript.php <? if($submit){ //do something with $myfield } ?> That's basically how it works... HTH, Greg > -----Original Message----- > From: Jason Bryner [mailto:jason@focusdesigngroup.com] > Sent: Tuesday, July 11, 2000 5:08 PM > To: PHP General > Subject: [PHP] How to call PHP function from form button? > > > How do I call a PHP function from a form button? > > Jason Bryner > -- > Focus Design > http://www.focusdesigngroup.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 (#6026) next »