0
我有以下MySQL查詢執行 -檢查是否MySQL查詢返回一個空結果
$stmt = $linkID1->prepare("select fstatus from cae_friends where provider_email=? and request_email=?");
$stmt->bind_param("ss", $uid,$row['email']);
$stmt->execute();
$stmt->bind_result($fstatus);
$stmt->fetch();
$stmt->close();
現在我怎麼確定我的查詢是否返回任何reslutset或其空。請幫助
請添加相關的編程語言標籤,你使用PHP? –
它的PHP語言 –