在我的sql查询中添加循环!=“”时出现错误
$DuplicateCheck='select * from acpass where acno= :cname and securtyq !=
"" or loop != ""';
$RsDuplicate=$connpdo->prepare($DuplicateCheck);
$RsDuplicate->bindParam(':cname', $cname[$l], PDO::PARAM_STR);
$RsDuplicate->execute();
$RowS=$RsDuplicate->rowCount();