Re: Number Sign in String Variables
| From: | Joab Stieglitz | Date: | Sat, 18 Jan 2003 23:57:04 +0000 |
| Subject: | Re: Number Sign in String Variables | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-132141@lists.php.net to get a copy of this message | ||
All I'm doing is making a hyperlink that sends the selected item from the
catalog to the add to shopping cart script. The code now looks like this...
$value = rawurlencode("add_to_cart.php?item_num=" . $item_num .
"&quantity=1&sale_price=" . $our_price .
"&unit=" . $unit .
"&short_desc=" . $short_desc .
"&wholesaler=" . $wholesaler .
"&cost=" . $cost);
echo "</td><td><a href=\"" . $value .
"\" <img
src=\"cart.jpg\">Add</a>\n</td></tr>";
... and executes the link when the user clicks on the shopping cart icon.
"John W. Holmes" <holmes072000@charter.net> wrote in message
news:002301c2bf4b$bc44c0b0$7c02a8c0@coconut...
> And the line you get that error looks like? It looks like you're trying
> to fopen() a file that's made up of PHP_SELF and the QUERY_STRING.
>
> ---John W. Holmes...