PHP Fungsi Tidak Ditentukan MySQLI_FETCH_ALL ()
$returnResult = []; //initialise empty array
while($row = $result->fetch_assoc())
{
$returnResult[] = $row;
}
Codemaster