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