No offense taken 🙂 And i know and i thank all who has helped me .
Ok this is what i got so far
$siteurl = "localhost/imagehost/";
mysql_connect("localhost", "username", "password") or die(mysql_error());
mysql_select_db("database name") or die(mysql_error());
$query = "SELECT * FROM image_list ORDER BY mk_date DESC LIMIT 5";
$result = mysql_query($query) or die(mysql_error());
while($row = mysql_fetch_array($result)){
echo $row['image_name']. " - ". $row['mk_date'];
echo "<br />";
echo '<td width="100%"><center><img src="' . $scripturl . 'thumbs/' . image_id . '" border="0"></a></center>';
}
I know i did something wrong lol
php and mysql are new to me.
again thanks for your help