As always, when talking about forms we also talk about validation. For a long time I’ve validated the forms inside the controllers because it is […]
Continue readingCodeigniter: My MY_Model or “How not to repeat yourself”
Often times I find myself doing the same queries over and over again for each table used by an application. This is why I needed to […]
Continue readingA new book about CodeIgniter from Packt Publishing
The CodeIgniter community is still thriving, despite the recent events at EllisLab (http://ellislab.com/blog/entry/ellislab-seeking-new-owner-for-codeigniter). A 3.0 version is in the works down at GitHub and a […]
Continue readingCodeigniter – Connect to two different (multiple) databases
In a job application interview, the employer asked me if I made some “database scalability” in the past. To my shame, I didn’t even understand […]
Continue readingCodeigniter – Create a CAPTCHA with Sessions using the Codeigniter’s Captcha helper
Now and then there is the need to create a captcha spam protection to stop spiders from spamming your website’s forms. Codeigniter framework has a […]
Continue readingCodeIgniter: How to retrieve data from a database
What is a dynamic site without databases, right? Yesterday someone asked me to make a tutorial about retrieving data from a database using CodeIgniter. As […]
Continue readingCodeIgniter: How to export data to Excel file
I will assume that you know how to use CodeIgniter, know what controllers, models and views are and what they do. If you don’t know […]
Continue readingPDO Tutorial – 04: Running simple SELECT using PDO
There are more ways to retrieve data from a database using PDO. The shortest way, but in my opinion, the too long to remember every […]
Continue readingConfirm box in javascript: Are you sure you want to delete?
We’ve been there. To click by mistake a link or a button which deletes an information and not to be asked if I am sure […]
Continue readingPrevent website directory listing with .htaccess
What is directory listing? There are those embarassing moments in life when you feel naked when someone sees at you something they aren’t suppose to […]
Continue reading