diff --git a/SQL/sql5.php b/SQL/sql5.php index 1403d14..bf49502 100644 --- a/SQL/sql5.php +++ b/SQL/sql5.php @@ -47,7 +47,7 @@ exit; } - $query = "SELECT bookname,authorname FROM books WHERE number =".'$number'; + $query = "SELECT bookname,authorname FROM books WHERE number =".$number; $result = mysqli_query($conn,$query); if (!$result) { //Check result