bookquery.php finished, but still problems in bookqueryresult.php