Silly HTML question: passing variables to the same page via POST
henryhartley at westat.com
Fri Feb 18 21:00:21 UTC 2005
On Fri, 18 Feb 2005 at 3:45 PM, Rodolfo J. Paiz wrote:
>> When the user clicks on one of those links/buttons, the same page
>> the same URL) should be reloaded, again with the list of detail
>> shown in the left blue column, but now with the selected detailed
>> shown in the middle brown column. The URL should stay the same.
You'll probably get a better response from a PHP oriented list, rather
than here. The simplest way would be to add the information to the url
(add something like ?table=month or ?table=aircraft to the url) and then
look for values in $_GET['table'] to decide what table to display.
If you insist on using POST, you'll have to make your links submit a
form rather than use simple links. The values passed would then be in
the $_POST variable instead of $_GET.
More information about the users