cleary1981 Posted July 18, 2008 Share Posted July 18, 2008 Hi, I have an if statement in my php and if true i want to go to the next page. How do I code that? if ($access_level == 3) { setcookie("super", "1", 0, "/", "", 0); setcookie("cost", "1", 0, "/", "", 0); supermain.php Link to comment https://forums.phpfreaks.com/topic/115400-solved-goto-specified-page/ Share on other sites More sharing options...
DoddsAntS Posted July 18, 2008 Share Posted July 18, 2008 Hi, Have a look at the header() function A Link to comment https://forums.phpfreaks.com/topic/115400-solved-goto-specified-page/#findComment-593262 Share on other sites More sharing options...
turkman Posted July 18, 2008 Share Posted July 18, 2008 header("Location: Supermain.php"); Link to comment https://forums.phpfreaks.com/topic/115400-solved-goto-specified-page/#findComment-593266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.