Hi,
I would like to display images on my result page. In my database I did write the url of the image and for now, i have a hyperlink in my result page.
Is there any script that I could integrate to my present script to make my images appearing instead of a hyperlink.
Thanks a lot.
Please, answer me very clearly, I am really new to this....thank you.
http://www.designer-quality.com/phptest3.php
Right now, my code is a s follow:
echo "<b><center>Database Output</center></b><br><br>";
$i=0;
while ($i < $num) {
$firstname=mysql_result($result,$i,"firstname");
$lastname=mysql_result($result,$i,"lastname");
$email=mysql_result($result,$i,"email");
$coloreye=mysql_result($result,$i,"coloreye");
$image=mysql_result($result,$i,"image");
echo "<b>$firstname</b><br>$image<br>email: $email<br>eyecolor: $coloreye<br>lastname: $lastname<br><hr><br>";
echo "function img_tag($img_file, $attrib) {
global $img_table;
++$i;
}
?>
echo "<b><center>Database Output</center></b><br><br>"; [URL=http://]http://www.designer-quality.com/phptest3.php[/URL]