![]() If that's correct, does the model file need to be called Companymodel.php and placed inside the application/models folder? This call to the company model page needs to have 1st letter capital with the rest lower case? Ok im confused here, on line 4 above: $this->load->model('Companymodel') $this->load->view('company/viewAll', $data) Inside the company controller it would look like this: public function viewAll() The controller needs to be called Company.php correct? If i want the url to my company page to be I'm a little confused with how the name of the controller and models work. I'm starting my 1st CodeIgniter project and want to get some advice before i start.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |