I have stored several images in my database and now i am trying to retrieve them. The way my script is set up is one user would have would have a selection of information and images to go with that. So the code below shows how an image would display along with the price, car and details. Currently the images are not displaying and i am getting one of those question marks in a diamond shape error. Any ideas?
The images in the database are stored as a BLOB, MIME type image/jpeg
form method="post" action="booked.php">
<table>
<?php while($row=mysql_fetch_assoc($result)) { ?>
<tr>
Images: <img style="width: 130px; height: 100px" alt="<?php echo $row['car']; ?>" src="image/<?php echo $row['img']; ?>" /></td>
Car: <input type="text" name="car" value="<?php echo $row['car']; ?>" readonly>
Details: <input type="text" name="details" value="<?php echo $row['details']; ?>" readonly>
Price: <input type="text" name="price" value="<?php echo $row['price']; ?>" readonly>
<input type="radio" name="selected_car" value="<?php echo $row['car']; ?>" /><br>
<br /><br /><br />
</tr>
<?php } ?>
</table>