prepare($sql); $stmt->execute(); if ($stmt->rowCount() > 0) { // Fetch the records $rows = $stmt->fetchAll(PDO::FETCH_ASSOC); printSuccess($rows); } else { // Print a failure message printFailure($message = "No Phone verified yet found"); } ?>