I am using Views 2 to get information from my Drupal 6 site. After getting the data, I want to use a little PHP to do some calculations that are unavailable through Views + Views calc. What is the best way to go about doing this?
I could alter the "Header" or "Footer" text, set the input format to "PHP Code", and try to access the $view object?
This didn't work for me:
<?php
global $view;
print_r($view);
?>
Any other ideas of what to do? What if I wanted to make an entire module that drew off existing Views instead of pulling info out of the db itself?