Remove ending ?> and any $dbname='nbook' (no longer needed).