标签: php
我试图得到的行数应该等于2但每次都返回0。
$username = "matthew"; $query_url = array(':user' => $username); $chek_url = $db->prepare("SELECT Id FROM Customer WHERE Referral = :user"); $chek_url->execute($query_url); $signups = $chek_url->rowCount();
这绝对应该回归2.我做错了吗?