📜  调用未定义函数 mysqli_fetch_all() - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:06.150000             🧑  作者: Mango

代码示例2
$returnResult = []; //initialise empty array
while($row = $result->fetch_assoc())
{
    $returnResult[] = $row;
}