PHP基础PHP教程php框架JavaScript
asp.netAJAX正则表达式ASP
$sql = sprintf("select count(*) as qty from t_user where f_uid='%s' and f_password='%s'",$password,$userAccount);
不能,SQL注入的关键在于引号,而sprintf()不会去处理引号。