See you can work this out in one way....store all images in a folder and in database add location of image (either relative or absolute)...
and then just display ie using the below code...
<?php
include 'includes/connection.php' ;
$query = ("SELECT * FROM pets");
$result = mysql_query($query);
while($dog = mysql_fetch_array($result)){
$petid = $dog ['petid'];
$petname = $dog ['petname'];
$Birthdate = $dog ['Birthdate'];
echo "<h3>" . $dog['petid'] ."</h3>";
echo "<P>" . $dog['petname'] ."</P>";
echo "<P>" . $dog['Birthdate'] ."</P>";
echo "<img src='".$dog['image']."' alt='dog' width='200' height='200' />";
}
?>
Hope this is what you were looking for...PS-If your problem is solved mark the thread as solved....
Click on this to mark the thread as solved..
tomato.pgn
Posting Whiz in Training
262 posts since Mar 2011
Reputation Points: 4
Solved Threads: 32