Re: Problem with this string...
| From: | Matt Allen | Date: | Wed, 13 Sep 2000 02:30:21 +0000 |
| Subject: | Re: Problem with this string... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16477@lists.php.net to get a copy of this message | ||
Hi,
You'll actually be getting "Mattresses " that & is stuffing you up.
try this:
http://www.myserver.com/shop_showcat.php?item_type=Mattresses%20and%20Mattress%20Pads
Matt
Shane McBride wrote:
>
> I pass this directly to a php page, and then print the variable again:
> echo "<a href=\"shop_showcat.php?item_type=$item_type1\">";
>
> Which equals this is the browser location:
>
>
> And when I echo the variable item type inside the shop_showcat.php, all I get is:
> Mattresses
>
> What am I doing wrong?
>
> TIA,
> Shane
--
Matt Allen Linux/PHP eCommerce Solutions
Linux Worx Linux Networking
www.linuxworx.com.au Consulting
matt@linuxworx.com.au
0413 777 771