all of the entries in the field are the same dimensions and are in the form of filename.gif
when a new entry is added to the database i want a another image to appear
Code: Select all
<?php
$result = mysql_query("SELECT * FROM thumbnails ORDER BY id");
while($row = mysql_fetch_array($result))
{
echo $row['gif'];
echo "<br />";
}
mysql_close($con);
?>Any ideas?