PHP Relational-model Resources