/ Published in: PHP
Sends the user to a different Drupal page.
This issues an on-site HTTP redirect. The function makes sure the redirected URL is formatted correctly.
This issues an on-site HTTP redirect. The function makes sure the redirected URL is formatted correctly.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
drupal_goto('node/'.get_local_node_nid($redirect_nid));
URL: http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_goto/7