I am dipping my toe in the water of prepared statements, and my function below is not working:

PHP Code:
function getPageText($url) {
$qry "SELECT content FROM tblsections WHERE url = ?";
    if (
$stmt $dblink->prepare($qry)) {

I am not sure how to debug prepared statments, normallly with a mysqli_query() I would just put a die statement on the end which would tell me the problem.

Thank you for any advice.