gt;; <[EMAIL PROTECTED]>
Sent: Friday, 20 June, 2003 10:39
Subject: RE: [PHP-DB] Two-column display of data, second method
You could always use the % operand
$cols_wanted = 2;
if(($faculty_found % $cols_wanted) == 0) {
// Then do a
echo '';
} else {
// Then it's the first
19, 2003 5:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] Two-column display of data, second method
>
>
> Nice job. There's a fair bit of room for optimization, but
> unless your data
> sets are very large, it's probably not necessary. However,
> if yo
P
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "David Shugarts" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, 19 June, 2003 17:43
Subject: [PHP-DB] Two-column display of data, second method
When I went looking for
When I went looking for a script that would give me a two-column layout that
would list my faculty members in two roughly equal columns, alphabetized
down the first column and then the second, I did not find such a script.
[There was indeed a "two-column" script, but it fed the data row-by-row.]
I