Help understanding codeigniter MVC |
(11-05-2016, 10:37 AM)InsiteFX Wrote: That code should be at the very top of your class and by looking at your code you need to change the $_ci to $CI Thanks for trying to help me, I gave up on trying to keep CodeIgniter as MVC for this and just coded it in PHP in my Controller and View. Like I said I have the back-end login system working fine as HMVC, but trying to add pages, I will just do it as MC for now to get this project finished. I spent 3 days trying to figure this out when I could have done the whole thing in spaghetti code in about a day. Funny, I thought that this MVC thing was supposed to make my life easier ![]() I will keep trying and take a few more tutorials when I am done with this project. I wanted to learn CI because Laravel is too restrictive and I like the freedom CI seems to give me. For instance, if I can't figure out how to do it in CI, I can just hard code everything into the Controller and Veiw, until I figure it out. Regards, Tom |
Messages In This Thread |
Help understanding codeigniter MVC - by tashworth19191 - 11-03-2016, 12:04 PM
RE: Help understanding codeigniter MVC - by Avenirer - 11-04-2016, 01:57 AM
RE: Help understanding codeigniter MVC - by php_rocs - 11-04-2016, 06:32 AM
RE: Help understanding codeigniter MVC - by Paradinight - 11-04-2016, 01:25 PM
RE: Help understanding codeigniter MVC - by tashworth19191 - 11-04-2016, 10:31 AM
RE: Help understanding codeigniter MVC - by cartalot - 11-04-2016, 12:07 PM
RE: Help understanding codeigniter MVC - by InsiteFX - 11-05-2016, 05:11 AM
RE: Help understanding codeigniter MVC - by tashworth19191 - 11-05-2016, 06:43 AM
RE: Help understanding codeigniter MVC - by InsiteFX - 11-05-2016, 10:37 AM
RE: Help understanding codeigniter MVC - by tashworth19191 - 11-07-2016, 05:28 AM
RE: Help understanding codeigniter MVC - by PaulD - 11-08-2016, 06:22 AM
|