我很好奇我的query
返回 anempty result set
和 my is 的实际值fetching method
是PDO::FETCH_ASSOC
什么value
,因为它是在 an 中获取的array
?它是 justfalse
还是 an empty array
or 0
?
我如何检查让我们在以下上下文中说: $ajResult = $query1->fetchAll(PDO::FETCH_ASSOC);
if ($ajResult ???? ) {....} else {};
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句