Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $servername = "localhost";
- $username = "username";
- $password = "password";
- $conn = new mysqli($servername, $username, $password);
- if (mysqli_connect_errno())
- {
- echo "Failed to connect to MySQL: " . mysqli_connect_error();
- }
- $sql = "insert into DBNAME.tml_game_player
- (playerid, itemid)
- values(".$_GET["playerid"].",
- ".$_POST["itemid"];
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement