When to use redirect() and when to use load->view
If you're new to Codeigniter, you'd probably have this question. If you're an intermediate CodeIgniter user, then you'd probably say this post isn't needed. Let me just post this for anyone who needs it.
Continue reading When to use redirect() and when to use load->view
How to get the current URL in CakePHP
I'm quite new to CakePHP when compared to my CodeIgniter experience and have been tracking down all tutorials I've read and am still reading a lot.
Continue reading How to get the current URL in CakePHP
Using strings for URI Segments in CodeIgniter
If you have used Kohana before, you'll notice that their URI::segment() function accepts strings. CodeIgniter's s URI::segment doesn't.
Continue reading Using strings for URI Segments in CodeIgniter
Add SESSIONS to Profiler in CodeIgniter
I am a profiler addict. I tend to put this ON on every application that I start to build. However, unlink Kohana that shows the sessions in their profiler, CodeIgniter doesn't. Here's a way to add it to your profiler without hacking the core.
Continue reading Add SESSIONS to Profiler in CodeIgniter
How to put an Image in an Anchor in CodeIgniter
I often see new CodeIgniter users ask, how to put an image inside the anchor helper. Most developers 'hand-code' the image tag inside the anchor helper
Continue reading How to put an Image in an Anchor in CodeIgniter
Multiple Applications with Codeigniter with one installation
Upgrading is never easy, you have to check for all deprecated functions. And although, CodeIgniter makes it very easy, it's probably going to be hard once you have tons of applications to upgrade.
Continue reading Multiple Applications with Codeigniter with one installation
How To Turn Off Displaying of MySQL Errors in CodeIgniter
As programmers, showing off sensitive information is a 'no-no'. MySQL errors are one way of non-intentional way of displaying sensitive information. Normally we would fix the problems before they arise but like everything else, you can't be too sure.
Here's what you do to turn off MySQL errors from being shown on screen.
Continue reading How To Turn Off Displaying of MySQL Errors in CodeIgniter
How to Access a Model from another Model
Accessing models from another model is one question that you hear a lot from new CodeIgniter users. It's actually quite easy and somewhat like loading a user created library in CodeIgniter.
Continue reading How to Access a Model from another Model