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 Jim S on 07/18/06 15:12

That being the case, the page I am working with uses a header page. The
examples I have seen require the variables to be placed above the html
tag on the page. Where would I put them? Would it be appropriate to
place them just at the top of my php page?

Rik wrote:
> 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,

 

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

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