Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $ip = $_GET['votingip'];
- $uid = $_GET['custom'];
- $servername = "localhost";
- $username = "username";
- $password = "123456";
- $dbname = "cq";
- $conn = new mysqli($servername, $username, $password, $dbname);
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- $sql = "SELECT * FROM votes WHERE IP='".$ip."'";
- /*
- Convert this to php m3 nafskom :))
- https://pastebin.com/92LkjKBX
- */
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement