Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- </head>
- <body>
- <?php
- $server = "localhost";
- $username = "";
- $password = "";
- $db = "";
- $conn = mysqli_connect ($server, $username, $password, $db);
- $sql = "Insert into ##table name## (Surname, Age) Values ('Timmy','32')";
- mysqli_query($conn, $sql);
- mysqli_close($conn);
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement