Been stuck on this for quite a bit... main problem is I'm very much a rookie when it comes to PHP and server side languages.
if (msg.result === 0)
alert("The credit card was charged successfully!");
I would like this PHP variable, which is in a different file, to change.
Any help would be greatly appreciated.
<?php if($row['membership_id'] == 0) :?>
Last edited by L3O; 02-23-2013 at 12:32 PM.
Thanks for the great info.
Or better question... how can I change the php membership variable based on the success of the credit card transaction?
And how would I go about using a database to change the variable? I know the membership package installed uses a database which was created.... but accessing that, or changing that is something I am very limited in.
Sorry for all the questions.... This is the last thing I have to do before I get paid for the site!!!! And its the only thing I can't seem to complete.
Last edited by L3O; 02-24-2013 at 01:00 AM.
When I go into my Control Panel for the website in phpMyAdmin and browse the database variables I can see the variable I would like to change....
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)