Problem with Links
Posted: Sun Feb 16, 2003 2:06 am
I have been working on passing values to paypal, and I am stuck. Almost all the links work. Just having problems when I have a link like this one. (click on BUY NOW). And here is my script right now.
Code: Select all
<?php
$Description = urlencode($a_resultї'Description']);
$Code = urlencode($a_resultї'Code']);
$Price = urlencode($a_resultї'Price']);
$Count = urlencode($a_resultї'Count']);
$Manufacturer = urlencode($a_resultї'Manufacturer']);
?>
<a href="https://www.paypal.com/cart/add=1&business=information@aardvarksafety.com&item_name=<? echo $Description; ?>&item_number=<? echo $Code; ?>&amount=<? echo $Price; ?>" target="_blank" class="nolink">Buy Now</a>
I was told to use urlencode, and I see its working, but I still have problems as you can see. Any ideas?