Warning: Undefined array key "bookid" in D:\xampp\htdocs\VRTest\GetBookScripts.php on line 11

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 D:\xampp\htdocs\VRTest\GetBookScripts.php:12 Stack trace: #0 D:\xampp\htdocs\VRTest\GetBookScripts.php(12): mysqli_query(Object(mysqli), 'SELECT * FROM w...') #1 {main} thrown in D:\xampp\htdocs\VRTest\GetBookScripts.php on line 12