I am trying to get a taxonomy parent name with this code; when I put 1 as the argument, I keep getting the ID, but when I try using 2, I get a error. It should wor,k but it keeps throwing the error back at me. I am trying to get the parent name, not the ID.
$view = views_get_current_view(); print $arg0 = $view->args;
Notice: Undefined offset: 2 in __lambda_func() (line 3 of /home/loansdotorg/public_html/modules/views_php/plugins/views/views_php_handler_area.inc(39) : runtime-created function).