Location: PHPKode > scripts > Secure Image Uploading and Resizing > display_images.php
<?php
require('conn.php'); /*important, change in conn.php to your settings*/


$query="select * FROM upload ";

$result=mysql_query($query) or die('Error, query failed'.mysql_error()); 
while ($row=mysql_fetch_array($result))
{?>
<div style="border:1px solid; border-color:#00FF66; float:left; padding-left:8px;">
<img src="fetch_image_frm_db.php?pid=<?php echo $row['id'];?>" height="180px" width="150px"/>
</div>
<p>
  <?php }
?>

<html>
<title> IMAGE UPLOADING( SECURE, RESIZE, AND STORING IN MYSQL) BY An!rban from "INDIA" </title>
<body>

<a href="image_upload.php"   style=" padding-left:14PX;">BACK TO UPLOAD PAGE</a>

</body>
</html>
Return current item: Secure Image Uploading and Resizing