Got empty results from model, even though there're data in database |
Hi Guys,
I am new to codeIgniter and I have a problem when working with models. Database is setup fine and has some fake data on the table. However I can't access then. My model PHP Code: class Site_model extends CI_Model { My Controller PHP Code: class Site extends CI_Controller { My View PHP Code: <html> And here is the results I got ( An empty array ) My View has been loaded Array ( ) |
Messages In This Thread |
Got empty results from model, even though there're data in database - by gabrielpasv - 03-18-2015, 08:02 AM
RE: Got empty results from model, even though there're data in database - by RobertSF - 03-18-2015, 07:39 PM
|