Posted By

dilios on 11/17/12


Tagged

redirect drupal7


Versions (?)

drupal_goto() to send the user to a different page


 / Published in: PHP
 

URL: http://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_goto/7

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.

  1. drupal_goto('node/'.get_local_node_nid($redirect_nid));

Report this snippet  

You need to login to post a comment.