Working on view.db.php