$query = "select * from tblRecords where record_category = '" . $cat . "' order by record_artist";
$result = $link->query($query);
This is the query that I use, to fetch the results, this works ok.
while($record = $result->fetch_array()) {
array_push($arr_result, $record);
}
And this is the code I add each value to the array. But after
echo json_encode($arr_result);
This is the result set I receive:
https://i.sstatic.net/Gmggl.png
What am I doing wrong?