You need two loops for that, just like the code
that somebody posted for you. Reuse that code,
and it will probabley work out oki fine with you.
-Original Message-
From: Thomas Edward Lawrence
To: [EMAIL PROTECTED]
Sent: 2003-08-24 11:56
Subject: [PHP-WIN] this is so difficult for me
I
This is how I would do it
'
for ($j = 0; $j != $columns; $j++)
{
$row = mysql_fetch_array($result);
$_SESSION["picture(".($i * $columns + $j).")"] = $row["pictures"];
echo "" ;
}
echo '';
}
?>
Sorry if there are any bugs here, I didn't test it :)
Cheers,
Donny
-Original