I have a Content Type Courses & a User Role Student
In the student I used EntityReference to refer to a number of courses.
Is it possible to get a list of all the students that have a particular course referenced to them, in PHP?
Right now I'm only accustomed in getting a value from a field in a content type like this:
$user_surname = $profile_info['student']->field_surname['und']['value'];
PS I think this has to do with back-reference,which is a module I already installed.