RE: [PHP] onchange and PHP
| From: | John W. Holmes | Date: | Tue, 22 Apr 2003 02:55:40 +0000 |
| Subject: | RE: [PHP] onchange and PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-144754@lists.php.net to get a copy of this message | ||
PHP is executed when a PAGE is requested, not when an action occurs on
the client's browser. So, if you want PHP to do something, request a new
page and do it.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/
> -----Original Message-----
> From: Ezequiel [mailto:ezequiel@mibbva.com.ar]
> Sent: Monday, April 21, 2003 10:31 PM
> To: php-general@lists.php.net
> Subject: [PHP] onchange and PHP
>
> Hi!!
>
> I need help with the following:
>
> I need to call a PHP when the user select an option from a drop down
menu.
> Something like
>
> <SELECT NAME="industry" onChange=CALL THE PHP ON THE SAME PAGE>
>
> that means, use the <?=$PHP_SELF?>, but I dont know how to put it in
the
> sentence.-
>
> Thanks in advance!
>
> Ezequiel
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php