use AJAX + IQuey in bookquery.php providing the base window to query, and bookqueryreslut.php gen the result returing back the bookquery.php.