Re: a quick one, self submitting jump menu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ross wrote:

> 
> How can I self submit a page whne registered globals are off. Is there a
> way to use $_SERVER?
> 
> What I am ultimately trying to do is use values from a jump menu...
> 
> <form name="form2" id="form2" action=">">
>   <select name="menu1" onchange="MM_jumpMenu('parent',this,0)">
>     <option >option1</option>
> <option >option2</option>
> 
>   </select>
> </form>
> 
> 
> to self submit and use the submitted values in a if-else or CASE
> statement. This is all on the same page.

You would need to add a VALUE property to each of the OPTION tags, and
depending on the METHOD property of the form, chech the $_POST or $_GET
array



Cheers
-- 
David Robley

Vote Democratic... It's easier than getting a job.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux