You are here: Re: a quick one, self submitting jump menu « PHP « IT news, forums, messages
Re: a quick one, self submitting jump menu

Posted by David Robley on 12/22/05 15:46

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация