i have this specific question to do to you,
i have a database from which i extract the information and my output is the name of the user and the photo of the user.
What i need to do is that when i click the user name i am redirected to another php file which which holds all information for this particular user.
The user is extracted like this:
$sql =" select * from hostess";
$query = mysql_query($sql);
echo "<table border='1'>
<tr>
<th>FIRSTNAME</th>
<th>PHOTO</th>
</tr>";
while ($row = mysql_fetch_array($query)) {
echo "<tr>";
echo "<td>" . $row['first_name_en'] . "</td>";
"<td> <img src=upproject/foto/photo1".$row['photo'] . "
></td>";
"</tr>";
}
echo"</table>";