YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Using mysql values to determine prices Options
shan@cruzio.com
#1 Posted : Friday, March 14, 2003 5:46:25 PM
Rank: Starting Member

Groups: Registered

Joined: 3/14/2003
Posts: 1
Location: ,
I wrote a product page in php and mysql and now need to pass the price from mysql to paypal. Here is my code: print "<form target=paypal action=https://www.paypal.com/cgi-bin/webscr method=post>"; print "<input type=hidden name=cmd value=_cart> <input type=hidden name=business value=shan@cruzio.com> <input type=hidden name=item_name value=Doctor Dotter's Mandela Magnets> <input type=hidden name=item_number value=$row[filename]> <input type=hidden name=amount value=12.00> <input type=hidden name=no_note value=1> <input type=hidden name=currency_code value=USD> <input type=image src=http://www.doctordotter.com/images/cart.gif border=0 name=submit alt=Make payments with PayPal - it's fast, free and secure!> <input type=hidden name=add value=1> "; print "</TR><TR>"; print "<TR> "; } print "</TABLE>"; ?> any help would be greatly appriciated. shannon
Sponsor  
 
paypal_pb
#2 Posted : Monday, March 17, 2003 5:07:44 PM
Rank: Starting Member

Groups: Registered

Joined: 9/16/2002
Posts: 2,960
Location: ,
Sitepoint.com is a good PHP and MySQL informational site.

Patrick Breitenbach
PayPal, Inc.
Dev Net: https://www.paypal.com/pdn
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.130 seconds.