Re: onchange and PHP

From: Date: Tue, 22 Apr 2003 10:42:02 +0000
Subject: Re: onchange and PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144803@lists.php.net to get a copy of this message
The select is part of <form>, so you need to put in the right action, and in the <select> use onchange="this.form.submit()", the form will be submited Ezequiel wrote:
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


« previous php.general (#144803) next »