I am trying to create a hyperlink that also passes a value to the destination php
page? I think the syntax is correct. The value contained in the $id_num variable does not appear in the called PHP script. Below is a sample of the code.
Thanks for your help.
Fred
Code from calling PHP script
[php]
<table width="700" border="0" align="center">
<tr>
<td width="30%" nowrap><A class=blue href="http://cc010.admin.esu .edu:12345/test/idnumtest.php?i d_num=$idnum&am p;"><?php echo "<font style='font-family: ariel; font-size: 16px;'>" . $fn . ' ' . $mn . ' ' . $ln . "</font>" ?></a></td>
</tr>
</table>[/php]
Code from php script
[php]
<?php
// GET $id_num from Enter_Faculty_I nfo script
$id_num = $_GET['id_num'];
print "\n id_num = $idnum\n\n";
?>[/php]
page? I think the syntax is correct. The value contained in the $id_num variable does not appear in the called PHP script. Below is a sample of the code.
Thanks for your help.
Fred
Code from calling PHP script
[php]
<table width="700" border="0" align="center">
<tr>
<td width="30%" nowrap><A class=blue href="http://cc010.admin.esu .edu:12345/test/idnumtest.php?i d_num=$idnum&am p;"><?php echo "<font style='font-family: ariel; font-size: 16px;'>" . $fn . ' ' . $mn . ' ' . $ln . "</font>" ?></a></td>
</tr>
</table>[/php]
Code from php script
[php]
<?php
// GET $id_num from Enter_Faculty_I nfo script
$id_num = $_GET['id_num'];
print "\n id_num = $idnum\n\n";
?>[/php]
Comment