How can i make the $row['Fname'] to be a link and when i click it, redirect me to a new page with more info about this entry i clicked?
here is the code:
echo '<ol>';
while ($row = mysql_fetch_array($sql)){
echo '<li>';
echo '<img src="'.$row['Bio']. '" alt="" width="110" height="110">';
echo ' <dl>';
echo ' <dt>Name</dt>';
echo ' <dd>'.$row['Fname'].'</dd>';
echo ' <dt>Genre</dt>';
echo ' <dd>'.$row['Genre'].'</dd>';
echo ' <dt>Speciality</dt>';
echo ' <dd>'.$row['Specialty'].'</dd>';
echo ' </dl>';
echo '</li>';
}
echo '</ol>';
<dd><a href=pageyouwant.php?fname="'.$row['Fname'].'">'.$row['Fname'].'</a></dd>and then in the pageyouwant.php just grab that variable using$_GET['fname']