Re: onchange and PHP

From: Date: Tue, 22 Apr 2003 03:43:52 +0000
Subject: Re: onchange and PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144758@lists.php.net to get a copy of this message
you can try use javascript <SELECT NAME="industry" onChange="document.location=('<?php echo $SERVER['PHP_SELF'] ?>')"> "Ezequiel" <ezequiel@mibbva.com.ar> wrote in message news:20030422023544.23355.qmail@pb1.pair.com... > 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 (#144758) next »