Example.

// redirects a user to scriptschool.com
header(”Location: http://www.scriptschool.com/”);

Also see PHP course I, week #8.