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; ?>'/>

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


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to