02-21-2003, 11:51 AM
02-21-2003, 12:31 PM
02-21-2003, 03: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, 03:20 PM
02-21-2003, 03: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, 07: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-24-2003, 12:24 AM
Well of course it's still linked in the PHP forum
02-24-2003, 03:33 AM
Jesh, what i meant was the code supplied above wasnt PHP.
If that's even what you were talking about.