I need to get a query results into an array. I think I am overcomplicating the matter and would like to find a better solution. I was doing it via a loop function but there's gotta be something better. So how do I get:
$myquery = $db->get_results("SELECT id FROM t1 WHERE item = '$iID'");
into an indexed array?