RE: [PHP] Table looking odd as a result of while loop?

2001-02-26 Thread Todd Kerpelman
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

RE: [PHP] Table looking odd as a result of while loop?

2001-02-26 Thread Todd Kerpelman
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:

RE: [PHP] Screen Size?

2001-02-26 Thread Todd Kerpelman
> 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