Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $servername = "localhost";
- $username = "admin";
- $password = "admin123";
- $dbname = "database1";
- $conn = mysqli_connect($servername, $username, $password, $dbname);
- if (!$conn) {
- die("Connection failed: " . mysqli_connect_error());
- }
- $sql = "INSERT INTO last_visit (ip, lastvisit) VALUES ('123', '123')";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement