Update index.php.erb to replace mysql_ with PDO

Hello,
I enjoyed reading your blog post.  As of php 5.5 the mysql_* functions have been deprecated so I've updated your index.php.erb template to reflect the change.


Take care,
Nicholas