|
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]
|