Re: Updating a GET variable

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

 



My working solution was to put it in a form with a hidden input with
the correct name and value.

<form method="post">
    <input type='hidden' name='lang' value='<?php echo $other_lang; ?>'>
    <input type='submit' value='<?php echo $other_lang_display; ?>'/>
</form>

But I'm still wondering what your advice is regarding best practice.

Marc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux