You are here: Re: Challenge: MySql result to drop down box « All PHP « IT news, forums, messages
Re: Challenge: MySql result to drop down box

Posted by Rik on 07/18/06 14:55

Jim S wrote:
> Is there a simple method to return the value of a selected field in a
> form to a php variable?

PHP is on the server, so only a submit will do. You page is already totally
build when the user selects something.

> IE--I want to be able to use the result of this form as a constraint
> in
> the query to populate another drop down box. Do I need to use the
> HTML post/get methods if I am still within the same php script?

Yes. Optionally use Ajax to avoid reloading the whole page, but essentially
Ajax sill just call the script with a normal post/get method.

Grtz,
--
Rik Wasmus

 

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

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