drupal 7: new field with dynamically generated select list from PHP code
I think your best bet would be http://drupal.org/project/entityreference module and the entityreference_view_widget. PHP filter is still there in D7 but you have to enable it under modules.