mga_ka_php Posted February 28, 2007 Share Posted February 28, 2007 how do i go to another page? sample. if the argument is correct in page1.php3 then it will automatically go to page2.php3 thanks. Link to comment https://forums.phpfreaks.com/topic/40461-forward-to-another-page/ Share on other sites More sharing options...
spfoonnewb Posted February 28, 2007 Share Posted February 28, 2007 ? <?php $argument = "HasToBeThis"; if ($argument != "HasToBeThis") { echo "Invalid Argument"; } else { header("Location: nextpage.php"); } ?> Link to comment https://forums.phpfreaks.com/topic/40461-forward-to-another-page/#findComment-195797 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.