Re: Form call a function on submit

From: Date: Mon, 06 Aug 2001 05:11:27 +0000
Subject: Re: Form call a function on submit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61380@lists.php.net to get a copy of this message
AFAIK the function would always need to exist inside a php file. That file doesn't necessarily need to be a `page' (ie. print any HTML). Just make the ACTION of the form point to the file with your function in it (or a call to the function). Mick On Mon, 06 Aug 2001, Richard Kurth wrote: > Is it possible to have a form submit button call a function. Like for > updating a record in a database or for deleting data. Rather than a > new page or with PHP_SELF > > > > > > > > > > > > Best regards, > Richard > mailto:rkurth@pacifier.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 -- Michael Hall mulga.com.au admin@mulga.com.au ph/fax (+61 8) 8953 1442 ABN 94 885 174 814

« previous php.general (#61380) next »