Greaser9780 Posted March 4, 2007 Share Posted March 4, 2007 header(\"Location: http://www.blah.com/mocks/functions.php/?id=".$res1['teamid']."\"); This must be the wrong way to send this. Quote Link to comment https://forums.phpfreaks.com/topic/41080-solved-dynamic-link-prob/ Share on other sites More sharing options...
fert Posted March 4, 2007 Share Posted March 4, 2007 header("Location: http://www.lordevil.com/mocks/functions.php/?id=".$res1['teamid']); Quote Link to comment https://forums.phpfreaks.com/topic/41080-solved-dynamic-link-prob/#findComment-198934 Share on other sites More sharing options...
Greaser9780 Posted March 4, 2007 Author Share Posted March 4, 2007 No error now. It still doesn't seem to be passing the id though. I have $id=$_GET['id']; at the beginning of the next script. Quote Link to comment https://forums.phpfreaks.com/topic/41080-solved-dynamic-link-prob/#findComment-198937 Share on other sites More sharing options...
fert Posted March 4, 2007 Share Posted March 4, 2007 http://www.phpfreaks.com/quickcode/Redirect/532.php Quote Link to comment https://forums.phpfreaks.com/topic/41080-solved-dynamic-link-prob/#findComment-198948 Share on other sites More sharing options...
Greaser9780 Posted March 4, 2007 Author Share Posted March 4, 2007 NOPE Page sending I have this now: if ($actsum < 20){ $sql1 =mysql_query("SELECT name FROM `draft_teams` ORDER BY activate ASC, teamid DESC LIMIT 1"); $res1=mysql_fetch_array($sql1); $name1=$res1["name"]; $pd=$res1['pd']; $id=$res1['teamid']; header("Location: http://www.BLAH.com/mocks/functions.php/?id=".$res1['teamid']); exit(); } Accepting page I have this: <?php include("db.php"); $id=$_GET['id']; echo $id ; It's redirecting properly. If I change $id to "BLAH" it shows up. I can't figure out why it's not sending the value of $id Quote Link to comment https://forums.phpfreaks.com/topic/41080-solved-dynamic-link-prob/#findComment-198951 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.