02-21-2003, 10:51 AM
02-21-2003, 11:31 AM
02-21-2003, 02:07 PM
anurag_shr is right. PHP is a server-side language, what you're describing is a client-side behaviour. Once the page is loaded in your browser, forget PHP. It's simple enough to do with JS using the onChange method as mentioned.
02-21-2003, 02:20 PM
02-21-2003, 02:50 PM
An example is on this very page:
<option value="-1" >Please select one:</option>
<option value="pm" >Private Messages</option>
<option value="cp" >User Control Panel</option>
<!-- and so on -->
02-23-2003, 06:15 AM
still not actually using PHP, just refering to the page ...
Its still in the PHP Forum
Well there is still a link to it in the PHP Forum
02-23-2003, 11:24 PM
Well of course it's still linked in the PHP forum
02-24-2003, 02:33 AM
Jesh, what i meant was the code supplied above wasnt PHP.
If that's even what you were talking about.