$rs1 = $db1->prepare("SELECT * FROM users WHERE username = '" . $Username_POST . "';"); #### $rs1->execute; if($rs1 != 'NULL') { report_error("username_exists"); } else { report_error("username does not exist"); }