ded Posted February 19, 2009 Share Posted February 19, 2009 <form action="postresults.php?rrn=$rrn" method="post" enctype="multipart/form-data"> I need to pass over the $rrn to the post.php page. The $rrn data is not being passed with the above. Quote Link to comment https://forums.phpfreaks.com/topic/145967-solved-need-help-with-code/ Share on other sites More sharing options...
premiso Posted February 19, 2009 Share Posted February 19, 2009 It should, you would access it with $_GET['rrn'] Quote Link to comment https://forums.phpfreaks.com/topic/145967-solved-need-help-with-code/#findComment-766298 Share on other sites More sharing options...
JonnoTheDev Posted February 19, 2009 Share Posted February 19, 2009 Use a hidden field if using a post method print "<input type=\"hidden\" name=\"rrn\" value=\"$rrn\" />"; Quote Link to comment https://forums.phpfreaks.com/topic/145967-solved-need-help-with-code/#findComment-766299 Share on other sites More sharing options...
ded Posted February 19, 2009 Author Share Posted February 19, 2009 echo "<input type=\"hidden\" name=\"rrn\" value=\"$rrn\" />"; worked perfect.....thank you! Quote Link to comment https://forums.phpfreaks.com/topic/145967-solved-need-help-with-code/#findComment-766305 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.