I am trying (unsuccessfully) to pass a variable to another php file. I am able to retrieve the information from MySQL, and present it on the web page but I am unable to pass the "hot link" ID to another php file. I am a beginner so it must be something simple but I have tried any number of variations without success. Any help would be appreciated or a pointer in the right direction.
while ($row = mysql_fetch_assoc($result))
{
echo("<tr>\n<td>" . $row["cityname"] . "</td>");
echo("<td>" . $row["statename"] . "</td>");
echo("<td>" . $row["orgname"] . "</td>");
echo "<td>";
echo "<a href = 'graborginfo.php?$varID = {$row['org_id']}'>{$row['org_id']}</td></a>";
}
Thanks,
Capt Spaghetti