I am creating an online store using php. Everything works fine until it comes time to pass values to Paypal in order to buy the products. Most of the values work fine, but there are just a few that are not working. The first three on this page are perfect examples. Take a look.Take a look. Just click on buy now and you will see what my problem is. Here is my current code:
<?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>
Thanks for your help.