RE: Silly HTML question: passing variables to the same page via POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
(with
>> the same URL) should be reloaded, again with the list of detail
sections
>> shown in the left blue column, but now with the selected detailed
table
>> 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.

http://us4.php.net/variables.predefined

-- 
Henry


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux