I need to get the values of each cell in the table that I am querying in an associative array form. here is my query
$sqlStatemnt = "SELECT artist, track_name
FROM Tracks where artist like 'bong' and track_name like 'bong' LIMIT 5";
and this how my php process it
$rs = $mySQL->query($sqlStatemnt);
print_r($rs);
the print_r shows me this
mysqli_result Object ( [current_field] => 0 [field_count] => 2 [lengths] => [num_rows] => 0 [type] => 0 )
How would I access the table “track_name” and “artist” ?
Thanks