how to go to a different page?
Moderator: General Moderators
how to go to a different page?
how can i send the users to another page from my php code.I use html headers to send them to different pages.But is it possible through php?
- shiznatix
- DevNet Master
- Posts: 2745
- Joined: Tue Dec 28, 2004 5:57 pm
- Location: Tallinn, Estonia
- Contact:
Code: Select all
header("Location: http://www.otherpage.com");- raghavan20
- DevNet Resident
- Posts: 1451
- Joined: Sat Jun 11, 2005 6:57 am
- Location: London, UK
- Contact:
if you can not get the header statement on top of the page with no blanks or echo stmts, it would be useful if you use this for time being.
Code: Select all
echo "<script>window.location=\"hello.php\"</script>"