b0ksah wrote:Well what you can use here is for or while loops that build up the table ...
thanks for the reply.. I knew that I have to use for or while to loop to create such table, I jst don't know how that goes..
include 'connect.php';
$query = "SELECT id, pictures FROM pictures ORDER BY id DESC LIMIT 0, 10";
$result = mysql_query($query) or die('Error, query failed [$query]');
while($fetched = mysql_fetch_array($result))
{
//here comes the loop, but how to create html table as I wanted?
}