Re: Number Sign in String Variables

From: Date: Sat, 18 Jan 2003 17:33:59 +0000
Subject: Re: Number Sign in String Variables
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-132109@lists.php.net to get a copy of this message
OK. I found the problem, and it isn't PHP or MySQL related. It's an HTML problem. I'm passing the string from one script to another, and the # sign is screwing up the URL. For example, this URL: add_to_cart.php?item_num=SOU3432410&quantity=1&sale_price=24.92&unit=BX &short_desc=ENVELOPE,25%COT 24#,IY&wholesaler=US&cost=18.690 gets cut off at the # sign, so $wholesaler and $cost come out empty. Any suggestions to get around this?

« previous php.general (#132109) next »