Re: [PHP] Formatting issue.

2003-06-16 Thread Hugh Bothwell
"Lowell Allen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > From: "Tom Ray [Lists]" <[EMAIL PROTECTED]> >> >> I want to be >> able to display thumbnail versions of the pictures, 3 per row and as >> many rows as needed. Unfortunetly, all I can do right now is 1 per row, >> this is

Re: [PHP] Formatting issue.

2003-06-16 Thread Lowell Allen
> From: "Tom Ray [Lists]" <[EMAIL PROTECTED]> > > I'm having a bit of a formatting issue, and I was wondering if someone > might have an idea on how to solve it. Basically what I have right now > is a script that opens and reads the content of an image directory, each > time the script is accessed

Re: [PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
with the proper line breaks: $dat="$_GET[gallery].dat"; $file=fopen($dat, 'r'); $contents = fread ($file, filesize ($dat)); fclose($file); $img=explode("|",$contents); print ""; foreach($img as $image) { if($image) print ""; } print ""; Tom Ray [Lists] wrote: I'm having a bit of a formatt

[PHP] Formatting issue.

2003-06-14 Thread Tom Ray [Lists]
I'm having a bit of a formatting issue, and I was wondering if someone might have an idea on how to solve it. Basically what I have right now is a script that opens and reads the content of an image directory, each time the script is accessed it writes the contents out to a text file for me. I