Re: how to pass variable for $_GET
| From: | DomIntCom | Date: | Sun, 23 Mar 2003 01:23:09 +0000 |
| Subject: | Re: how to pass variable for $_GET | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-140722@lists.php.net to get a copy of this message | ||
ok - found urldecode which is now giving me the following;
\'2003-1-3 00:00:01\' AND \'2003-3-10 23:59:59\'
original string;
'2003-1-3 00:00:01' AND '2003-3-10 23:59:59'
"Domintcom" <info@domintcom.com> wrote in message
news:20030323000050.44158.qmail@pb1.pair.com...
> ok - I know how to pass these variables by appending variables to the
link.
> however, I'm trying to pass the following string;
>
> '2003-1-1 00:00:01' AND '2003-3-20 23:59:59'
>
> now - when I pass it what I get is the following;
>
> date='2003-2-1%2000:00:01'%20AND%20'2003-3-1%2023:59:59'
>
> it seems what I'm going to have to do is replace %20 with a space, but I'm
> unclear of how to do that with php.
>
> thanks,
>
> Jeff
>
>
>