Re: query strings
| From: | Philip Hallstrom | Date: | Mon, 03 Mar 2003 20:54:40 +0000 |
| Subject: | Re: query strings | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137962@lists.php.net to get a copy of this message | ||
Spaces usually get converted to %20 when passed around in urls... take a
look at the urldecode() and parse_str() functions...
http://www.php.net/manual/en/function.urldecode.php
http://www.php.net/manual/en/function.parse-str.php
On Mon, 3 Mar 2003, Sunfire wrote:
> i have a might i say a very very large/long query string i have to run to
> pass variable values from one page to another with a button... the button
> works and the query string are passing variables right but at the end of the
> query string (it passes like 21 variable values) the last variable content
> that gets passed gets messed up.. i mean if i have like this:
> page.php?.........&edit_company=$company
> so lets say company has the value of "hi world" in it.. the value is
> supposed to be passed with "hi world" but for some reason i keep getting
> "hi%20world" instead of "hi world"
>
> any reason for that.. if you need i can post my query string and button code
>
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.458 / Virus Database: 257 - Release Date: 2/24/2003
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>