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. 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']); 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. 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 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 Link to comment https://forums.phpfreaks.com/topic/41080-solved-dynamic-link-prob/#findComment-198951 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.