thanks, I knew it was simple.. just can't think today!
-----Original Message-----
From: Dan Phiffer [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 2:11 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Question
Perhaps something like:
<?php
if ($record_count % 4 == 0) {
echo "</td>\n<td>";
}
?>
HTH,
-Dan
"Clint Tredway" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I have a display of images that every fourth image I want to start a new
> column. In ColdFusion I would use the MOD operator like this:
>
> if query.recordcount MOD 4 eq 0
> </td>
> <td>
> /if
>
> I am just having a brain lapse today, can someone help me do this same
> functionality in PHP?
>
> Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php