Hi, I am having an Issue inputting data into my database with this code.
I tested the connection, which works fine, but when I try to submit the form I get the "die("lid query: " . mysql_error());".
Any Ideas?
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<form action="thispage.php" method="POST">
<input type="text" name="name" placeholder="Check-in Name">
<input type="submit" value='submit'></form>
<?php
if (isset($_POST['submit'])) {
$name = $_POST