/ Published in: PHP
To print out Drupal Arguments.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php print '<div align="left">'; print '<br/>arg-0 :' .arg(0); print '<br/>arg-1 :' .arg(1); print '<br/>arg-2 :' .arg(2); print '<br/>q:' . $_GET['q']; $view = $GLOBALS['current_view']; $args = $view->args; print '<br/>args-0 :' .$args[0]; print '<br/>args-1 :' .$args[1]; print '</div>'; ?>