Notice: Undefined index: id in /home/khozreva/domains/ on line 27

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 in /home/khozreva/domains/ Stack trace: #0 /home/khozreva/domains/ mysqli->query('SELECT * FROM n...') #1 {main} thrown in /home/khozreva/domains/ on line 27