gli Posted April 18, 2008 Share Posted April 18, 2008 Hi! I have registerprocess.php , and if the registration is sucesfull then it redirects to other php page, where if $justregistered variable == 1 then echo some message. And problem is that i dont know how to make $justregistered in registerprocess.php that other page uses only when redirected from registerprocess.php Sorry for my bad english. I hope that you undrestand me Link to comment https://forums.phpfreaks.com/topic/101697-solved-problem-with-sending-variable-into-other-page/ Share on other sites More sharing options...
zenag Posted April 18, 2008 Share Posted April 18, 2008 pass variable with link ..like page.php?$justregistered =1.. and ON PAGE.PHP.. $ID=$GET["$justregistered "]; ECHO $ID; U WL GET ID VALUE ON THAT PAGE... Link to comment https://forums.phpfreaks.com/topic/101697-solved-problem-with-sending-variable-into-other-page/#findComment-520273 Share on other sites More sharing options...
gli Posted April 18, 2008 Author Share Posted April 18, 2008 am i doing right? <?php redirect_to("login.php?$justregistered=yo"); ?> Link to comment https://forums.phpfreaks.com/topic/101697-solved-problem-with-sending-variable-into-other-page/#findComment-520331 Share on other sites More sharing options...
gli Posted April 18, 2008 Author Share Posted April 18, 2008 ouh all is ok. i found out, there were some errors in your code. all is ok. Link to comment https://forums.phpfreaks.com/topic/101697-solved-problem-with-sending-variable-into-other-page/#findComment-520386 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.