Answers for "undefined method mysqli_stmt::fetchAll()"

SQL
0

Call to undefined function mysqli_fetch_all()

$array = array();
while($row = $result->fetch_assoc())
    $array[] = $row;
Posted by: Guest on June-30-2021
0

php undefined function mysqli_fetch_all()

$returnResult = []; //initialise empty array
while($row = $result->fetch_assoc())
{
    $returnResult[] = $row;
}
Posted by: Guest on June-30-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language