Views theming: How to grab the contextual filter?
You can achieve this functionality in views itself


In footer add a global text area
Select PHP code in the text format select box
Enter the following code

$view = views_get_current_view();
/* $view-&gt;args will contain all the argument values in the order */



However make sure to include php opening and closing tags and read this one if you have multiple views in same page.