Call to undefined function mysqli_fetch_all()
$array = array();
while($row = $result->fetch_assoc())
$array[] = $row;
4
9
$returnResult = []; //initialise empty array
while($row = $result->fetch_assoc())
{
$returnResult[] = $row;
}
Thank you!
9
0
Are there any code examples left?
New code examples in category SQL