Passing a variable thru header redirect
Posted: Wed Oct 14, 2009 10:53 pm
How can I get a $variable to pass thru a url set by php redirect code ($recordid for example)?
I want the url to actual work :
http://www.someurl.com/membersarea/edit.php?fid=117
Code: Select all
$recordid = $_GET['fid'];
header( "Location: http://www.someurl.com/membersarea/edit.php" );http://www.someurl.com/membersarea/edit.php?fid=117