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

Donation form that uses mysql Options
disconnect81
#1 Posted : Saturday, February 20, 2010 3:55:27 PM
Rank: Starting Member

Groups: Registered

Joined: 9/19/2006
Posts: 4
Location: ,
Hello,

I was hoping someone could lend a hand. I've looking everywhere for examples on how to do this, I am able to find information on making a form that writes to mysql. I am also able to find information on making a little paypal donation form. Oddly enough, I can not find any examples on putting these two things together.

My ultimate goal is to have a small PayPal donation form that collects 3 pieces of information from a user (Name, Email, and their Unique ID). Once they fill out this information and click the donate button, they would be taken to the paypal page to complete the transaction. Once the transaction is complete, the info they provided in the form would then be stored in the mysql database. This database would have those 3 columns (Name, Email, and their Unique ID), plus one for the donation date.

I should note, I actually do own the Donation Tracker provided by StellarWebSolutions. The product is great, but unfortunately without solid coding knowledge, it's not easily modified if you wish to stray from their default examples.

Thanks,

Chris
Sponsor  
 
nds_webdesign
#2 Posted : Tuesday, March 02, 2010 6:12:32 AM
Rank: Junior Member

Groups: Registered

Joined: 10/15/2009
Posts: 159
Location: Omaha, NE USA
I would just pass through the info you need in the "item_number" variable just as you described it, separated by "commas" then (if coding in PHP) you could just explode the variable at the "commas" then write the array to a db. you would have to do some scripting on the page to check for 'commas' in the text fields but that would be pretty easy with javascript.
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.107 seconds.