zfred09 Posted December 16, 2006 Share Posted December 16, 2006 Ok if I have this if($blah==true){goto(page.php);}what is the function for automatically forwarding you to a page if the condition is true? Thanks. Link to comment https://forums.phpfreaks.com/topic/30829-solved-help-with-forwarding-to-a-page/ Share on other sites More sharing options...
Cagecrawler Posted December 16, 2006 Share Posted December 16, 2006 header(Location:"redirect_here.php") Link to comment https://forums.phpfreaks.com/topic/30829-solved-help-with-forwarding-to-a-page/#findComment-142183 Share on other sites More sharing options...
zfred09 Posted December 16, 2006 Author Share Posted December 16, 2006 Problem Solved thanks, one thing tho I had to change it to header("Location: page.php") putting the quotes in front of location instead of after. Link to comment https://forums.phpfreaks.com/topic/30829-solved-help-with-forwarding-to-a-page/#findComment-142192 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.