What's wrong with doing it like 
if ($date == 24) {
  if ($hour == 3) {

        do something

        }
   }

??

-----Original Message-----
From: chris herring [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2001 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] "IF" statements


Ok, use your imaginations and visualize what I'm trying to do with this, because I'm 
not quite sure how to explain it. Anyway, I'm trying to have a script that says when 
THIS_VAR and THAT_VAR are a certain number it show something. I'm not quite sure how 
to do that without making yet another var that would screw up things even more. 
Anyway, this might help some people with what I'm trying to do:

if ($date == 24 && $hour == 3) {  }

But that doesn't work... Any help is appreciated 

-chris
"Fat people eat."

Reply via email to