Probably in my case is best to use CI to run the query
$reports = $this->db->query($sql)->result();
But would be nice is this could be moved inside the model some how
Thank you
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community