Hey guys,
I am trying to dynamically parametize my url, but it gets lost and I have no idea why. Perhaps some insight from you guys will help. Here's the code:
while($row = mysql_fetch_assoc($getID))
{
echo "<tr>";
echo "<td><a href='View.php?id='" . $row['ID'] . "'>" . $row['ID'] . "</a>" . "<br />" . "-"
. $row['Description'] . "</td>";
echo "<td style='text-align:center; width:35%'>" . $row['dateCreated']. "</td>";
echo "</tr>";
}
In View.php I have this to try and debug:
if (isset($GET['ID']))
echo $GET['ID'];
else
"Not set";
When I am redirected to this page, nothing displays and the url reads View.php?id=
Why is it empty?
Thanks