$product_set = get_cart($cookie_id);
while($row = mysql_fetch_array($cart_set))
{
<form method="POST"
action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/************"
accept-charset="utf-8">
<----as you can see below this i have name="item_name_"++ this is because i need the item_name_ to go up as we go through this while loop(this is also the same with all of the variables)--->
<input type="hidden" name="item_name_"++ value="<?php echo $row['product_id']; ?>"/>
<input type="hidden" name="item_quantity_1" value="<?php echo $row['qty']; ?>"/>
<input type="hidden" name="item_price_1" value="<?php echo $row['product_price']; ?>"/>
<input type="hidden" name="item_currency_1" value="USD"/>
<input type="hidden" name="ship_method_name_1" value="UPS Ground"/>
<input type="hidden" name="ship_method_price_1" value="10.99"/>
<input type="hidden" name="tax_rate" value="0.0875"/>
<input type="hidden" name="tax_us_state" value="NY"/>
<input type="hidden" name="_charset_"/>
<?php
}
?>
<input type="image" name="Google Checkout" alt="Fast checkout through Google"
src="http://checkout.google.com/buttons/checkout.gif?merchant_id=*************&w=180&h=46&style=white&variant=text&loc=en_US"
height="46" width="180"/>
</form>
ok i believe i have the correct code now btu when i click to add the items to a shopping cart for some reason it asks me where i would like to save the picture
(the google checkout picture)
this code works when there is only one item but not any more? i cannot figure why?