the issue I am having is when a client logs into the system we want all their info to show up (from the nocsis table) then match the last name to the image table. All is working well with my select statement the only problem is the image doesn't show up. I believe what is diplayed is MIME. How do I get the actually image to display. Thanks in advance
- posted this in the wrong area before, sorry
Code:
<?
include_once('../sql_connect.php');
$result = mysql_query("SELECT A.LastName, A.FirstName, A.Server, A.TimeIn, A.TimeOut, B.image FROM nocsis A, image B WHERE A.LastName = B.LastName AND A.TimeOut IS NULL ORDER BY A.TimeIn ASC");
while($myrow = mysql_fetch_array($result))
{//begin of loop
//now print the results:
echo "<b><u> Guest:</b></u> ";
echo "<br>Last Name: ";
echo $myrow['LastName'];
echo "<br>First Name: ";
echo $myrow['FirstName'];
echo "<br>Image: ";
echo $myrow['image'];
}//end of loop
?>
Comment