spanster90 Posted June 15, 2011 Share Posted June 15, 2011 I need some help getting going with some donation script. What I would like is for the script to get some MySQL database information and check for new entries. These entries would be posted from Paypal IPN and the script will show or possibly echo the latest 5 entries. An example would be Bob donated $5 on May 4! Jim donated $5 on May 6! Fred donated $5 on May 9! Mary donated $5 on May 16! Joe donated $5 on May 19! The names would be usernames from the database. I know this can easily be done but I am a complete beginner at MySQL and PHP. Can I get some help? Quote Link to comment https://forums.phpfreaks.com/topic/239422-donation-script/ Share on other sites More sharing options...
waynew Posted June 15, 2011 Share Posted June 15, 2011 Why not create a table called donations? Then, when a donation is successful, add the username/user_id, amount and date? Quote Link to comment https://forums.phpfreaks.com/topic/239422-donation-script/#findComment-1229962 Share on other sites More sharing options...
spanster90 Posted June 15, 2011 Author Share Posted June 15, 2011 Well yea, ofcourse I can do that but I was hoping for a more automated method. EDIT: Just to clarify, I already have all of the Paypal stuff ready and operating on my production site. It inserts to several databases already so I will add one more for the donations in which it inserts the info provided by the user. What I need assistance with is printing out recent ones with PHP. Quote Link to comment https://forums.phpfreaks.com/topic/239422-donation-script/#findComment-1229964 Share on other sites More sharing options...
spiderwell Posted June 15, 2011 Share Posted June 15, 2011 it will be automated when you write the script to do it!! Quote Link to comment https://forums.phpfreaks.com/topic/239422-donation-script/#findComment-1229980 Share on other sites More sharing options...
spanster90 Posted June 15, 2011 Author Share Posted June 15, 2011 And that is what I am here asking assistance with. I need HELP writing that script. Quote Link to comment https://forums.phpfreaks.com/topic/239422-donation-script/#findComment-1229992 Share on other sites More sharing options...
cssfreakie Posted June 15, 2011 Share Posted June 15, 2011 when you do not have anything in the form of a script (or a suitable question, on how to..) and you want others to write that for you, it's best that you post a similar question in the freelance forum. We either post/assist here with existing scripts or pointing people in the right direction to look. Quote Link to comment https://forums.phpfreaks.com/topic/239422-donation-script/#findComment-1230004 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.