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
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 you're compulsive
(as I tend to be), you'll optimize every bit of code to the best of your
abilities. And yes, I know I'm crazy. ;P
Edward Dudlik
Becoming Di