Give me book's number and I give you...

Book's number :
connect_error) { die("Connection failed: " . $conn->connect_error); } //echo "Connected successfully"; $source = ""; if(isset($_GET["submit"])){ $number = $_GET['number']; $query = "SELECT bookname,authorname FROM books WHERE number = '$number'"; $result = mysqli_query($conn,$query); $row = @mysqli_num_rows($result); echo "
"; if($row > 0){ echo "
There is a book with this index.
"; }else{ echo "Not found!"; } } ?>