Hey guys, extremely curious as to how I'd go about using php to alter a mysql database via paypal.
Absolutely clueless when it comes to .php, so if anybody doesn't mind chuckin' me an inbox or maybe commenting here giving me a hand, I'd greatly appreciate it!
Thanks guys,
Minteh Fresh.
I liked this tutorial.
[url]http://henryranch.net/software/ease-into-sqlite-3-with-php-and-pdo/[/url]
This is for SQLite however.
The queries you'll be using the most are
$result = $db -> query('SELECT * FROM user_steam WHERE steamID64 = ' . $profile);
This was made for a steam site where I store the steam user's STEAM number (76561198013370444) + their name (Digits) + some more info and that's the way I retrieve it.
And then you'll want to use the UPDATE function to make changes to their data after it's set.
(UPDATE `tablename` SET `rowname`= 'newcharacter' ... WHERE steamID64 = 76561198064470517 )
Sorry, you need to Log In to post a reply to this thread.