05-01-2012, 01:17 PM
You can save the path for images. For example, in case photo_l.jpg is in images folder in public_html
directory, the path saved in DB table would be--images/photo_l.jpg.
To call the image path, you need to make a query similar to below:
$query = "select * from table_name where Name='$name'";
$row = mysql_fetch)_array($result);
For displaying images, you can use <img> tag as shown below:
<img src="<?=$row['image']?>" width="100" height="120" border="0">
Last edited by grace1004; 05-02-2012 at 12:05 AM.