Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host="localhost"; // Host name
- $username="luser"; // Mysql username
- $password="pass"; // Mysql password
- $db_name="dbname"; // Database name
- $tbl_name="proof"; // Table name
- //Update Database
- mysql_connect ("$host", "$username", "$password") or die ("Cannot connect");
- $id ="{$_GET['id']}";
- $count =($_GET["count"]);
- $sql="INSERT INTO $tbl_name(player_id, play_count)VALUES('$id','$count')";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement