php -> db.php snippet