php 5 based microblog with pdo database