w.
Just move that echo statement about your if statement (leave the
auto-increment where it is), and you should be fine.
--Todd
> -Original Message-
> From: Todd Kerpelman
> Sent: Monday, February 26, 2001 2:10 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] Table loo
Hmmm... I'm pretty sure 1%3 is equal to 1.
I'm suspecting you might be incrementing $photocount too early -- that is,
before the if (($photocount % 3) == 2) statement. That would certainly
explain the weirdness you're seeing.
--Todd
> -Original Message-
> From: Johnson, Kirk [mailto:
> How do you determine a user's screen size (resolution)? Isn't there a
> variable/function for this?
I doubt you could do this in PHP, since your browser doesn't normally
include screen size information in the headers it sends across to web
servers.
However, JavaScript can do this -- there's a
3 matches
Mail list logo