Re: [PHP] readdir() output question

2002-12-13 Thread Matt Vos
$img_count = 0; echo(" My Images"): (loop through filenames) { if (($img_count % 5) == 0) echo(" "); echo(" "); $img_count = $img_count + 1; } while (($img_count % 5) != 0) { echo("  "); } echo(" ") Matt RClark <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EM

[PHP] readdir() output question

2002-12-13 Thread RClark
Hello all! Ok, I have a readdir() reading pictures files from a directory. But now I want to output them into a html table, say 5 across the top row, then 5 the next row, etc. What I cant figure out is how to make this happen. Right now, I am not reading the files into an array. Should I do this a