Blog

Programming insights to Storytelling, it's all here.

Ibrahim Diallo

Page - 62

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

Calling a function that has no name

You can make use of recursion easily in JavaScript. Let's try it with factorials: function factorial(num){ if (num < 0) { return -1; } e…

Photography