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. 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'] 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\" />"; 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! 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
Archived
This topic is now archived and is closed to further replies.