"; $q = $_GET["q"]; $sql = "select * from bookList where ISBN = " . $q; if ( $result = mysql_query( $sql, $conn ) ) { while( $row = mysql_fetch_array( $result ) ) { echo ""; echo ""; echo ""; echo ""; echo ""; } } echo "
ISBN Title Price
" . $row['ISBN'] . "" . $row['title'] . "" . $row['price'] . "
"; mysql_close( $conn ); ?>