Headhunter
|
| Posted: 09/11/2002, 11:52 PM |
|
How do I do this:
I use a form with method = "Post"
When a listbox has been changed the page reloads it's contents. I want the parameter for the selected drop down's value to appear in the url. Form's method has to be "post" and not "get".
My project is Mysql + PHP4 + Templates.
Thx.
|
|
|
 |
Brent
|
| Posted: 09/12/2002, 7:01 PM |
|
Try to write the contents to a hidden field. The data for the hidden field
will get transferred when the page reloads and then you can reference the value
of the hidden field to create your url string.
|
|
|
 |
Headhunter
|
| Posted: 09/13/2002, 12:12 AM |
|
Ok, but how do I get that parameter? U see, that's my problem.
I have been searching for how to retrieve "post" parameters, something like $http_get_vars, but it seems not to be working for me. Maybe I have to use a javascript or something to retrieve the value?
But thanks anyway, I will try it when I get home.
|
|
|
 |
Headhunter
|
| Posted: 09/13/2002, 4:47 AM |
|
I found it.
Via the SQL input parameter window, you have to select "form" for parameter and specify the form parameter name.
It's that simple.
|
|
|
 |
|