I have this little bit of code here and I am totally lost as I am getting a syntax error near 'unique = 'dD0231q' LIMIT 1' at line 1. It might be something very simple, but I seem to be blind to my own errors..
$unique = $_GET["unique"];
$results = $mysqli->query("SELECT * FROM written WHERE unique = '$unique' LIMIT 1