Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include_once 'dbConfig.php';
- ?>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Just another website</title>
- <?php
- echo '<link href="site.css" rel="stylesheet" type="text/css">' ;
- if(isset($_POST['btn-save']))
- {
- $username= $_POST['username'];
- $password = $_POST['password'];
- $country = $_POST['country'];
- $sql_query = "INSERT INTO users(username,password,country) VALUES('$username','$password','$country')";
- mysql_query($sql_query);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement