How to access the result set data from a CodeIgniter query [duplicate]
I have my my model: $this->db->select('companyName,companySlogan,companyContact,companyEmail,companyWebsite,companyPhone,companyFax,companyAddress'); $result = $this->db->get('companyDetails'); How would I return my $result so that I can call it via my controller in the following form? $data['companyName'] = $this->quote->companyDetails->companyName
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.