Re: Updating a GET variable
| From: | Marc Guay | Date: | Wed, 10 Nov 2010 14:58:05 +0000 |
| Subject: | Re: Updating a GET variable | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309428@lists.php.net to get a copy of this message | ||
> foreach($_GET as $k => $v) $qs[$k] = URLDecode($v);
> $qs['lang'] = 'en';
> echo '<a
> href="index.php?'.http_build_query($qa).'">Flip</a>';
Hi Tamara,
Thanks for the tips. Do you see any advantage of this method over
using a small POST form besides the styling problems I'll run into
trying to make the submit button look like an achor?
Marc