Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Make a MySQL Connection
- //Connect To Database
- $hostname='****';
- $username='****';
- $password='****';
- $dbname='****';
- $usertable1='Player_Master';
- $usertable2='Round1';
- mysql_connect($hostname,$username, $password)
- OR DIE ('Unable to connect to database! Please try again later.');
- $query = 'UPDATE' . $usertable1 . $usertable2;
- msql_query UPDATE "Player_Master, Round1
- SET Player_Master.Total_Raw=(Player_Master.Total_Raw)+(Round1.Player1_Raw),
- Player_Master.Games=(Player_Master.Games+1)
- WHERE Player_Master.Player_ID=Round1.Player1_ID";
- echo DONE;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement