Hi
I have the following piece aof code
I would like to create an hyperlink for each row on the NameNM field and send the corresponding personID within the hyperlink, something like getPerson.php?I dentity=$str_id .
I have tried several options and none works. Please keep in mind it must be inside the "<td>" cell.
Thank you in advance
I have the following piece aof code
Code:
while($row = mysql_fetch_array($event))
{
echo "<tr>";
echo "<td>" . $row['surnameNM'] . "</td>";
$str_id = $row['personID'];
echo "<td>" . $row['nameNM'] . "</td>";
echo "<td>" . $row['personID'] . "</td>";
echo "</tr>";
}
mysql_close($getSurname);
I have tried several options and none works. Please keep in mind it must be inside the "<td>" cell.
Thank you in advance
Comment