Thanks to Views Customfield module, you can output php in a view field.
Every row contains its data and the main ID (nid/tid/cid...) in the $data variable. This are raw data, since formatting occurs per row later on the theme level.
It's always usefull to print all the data since keys are very often prefixed (ex : $data->node_title );
- <?php print_r( $data ); ?>
$data also contains previous rows data. You can pass data from a row to another by setting a value in $data.
- $data->my_value_1 = $value;
In other row :
- print $data->my_value_1;
If you need to pick several raw $node value, you can use this pattern to load the node one time and store it in $data for later reuse per row. ($data->nid is always present for node based views)
- $data->n = node_load( $data->nid );