这是绑定参数的正确语法
mysqli
$SQL = "SELECt users.email, users.handle, userprofile.mobile FROM users,userprofile WHERe users.email =? OR users.handle =? OR userprofile.mobile=?";if ($stmt = $mysqli->prepare($SQL)) { $stmt->bind_param("sss", $one,$two,$three); $stmt->execute(); //do stuff}


