Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 64

2013

April

Using MySQLi and PDO instead of MySQL_*

Using MySQLi and PDO instead of MySQL_*

It is time to deal with mysql_* functions once and for all. These methods are deprecated and slow. The time to upgrade has long passed yet we still see it everywhere. Since I cannot force every author to update their tutorial and blogs, I decided to write a post to hopefully rank better and provide the essential information to help new comers.

JS Tip of the day

String trimming

In modern browsers, JavaScript has a .trim() function on the String object. What it does is simple, it removes the extra white space before and after the string…