I've got this code:
$res = $this->EE->db->where(array('EventCode' =>$r["eventcode"]))
->limit(1)
->get('exp_course_events');
$course_date = $res->row('FormalDate');
but when I try to echo $course_date;
, all I get is Array
Isn't this how to use the DB class to return a single row and get it's field values?