Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在使用带有“IF”和没有“IF”的准备好的语句,有什么区别吗?例子;
if ($stmt = $mysqli->prepare) {}
和
$stmt1=$mysqli->prepare;
如果您的陈述没有正文if,那么没有,没有区别。
if