Re: [PHP] print at a specific time

2004-09-02 Thread devil_online
thanks On Wed, 1 Sep 2004 22:18:30 -0500, Brent Clements <[EMAIL PROTECTED]> wrote: -- Using Opera's revolutionary e-mail client: http://www.opera.com/m2/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] print at a specific time

2004-09-02 Thread devil_online
EMAIL PROTECTED]> Cc: "devil_online" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 10:12 PM Subject: Re: [PHP] print at a specific time Brent Clements wrote: > $minute = 01; Be careful with the leading zeros... that's interpre

Re: [PHP] print at a specific time

2004-09-01 Thread Brent Clements
CTED]> Sent: Wednesday, September 01, 2004 10:12 PM Subject: Re: [PHP] print at a specific time > Brent Clements wrote: > > > $minute = 01; > > Be careful with the leading zeros... that's interpreted as an Octal > number by PHP, but Octal 1 == Decimal 1 in this case.

Re: [PHP] print at a specific time

2004-09-01 Thread John Holmes
Brent Clements wrote: $minute = 01; Be careful with the leading zeros... that's interpreted as an Octal number by PHP, but Octal 1 == Decimal 1 in this case. :) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.p

Re: [PHP] print at a specific time

2004-09-01 Thread Brent Clements
- Original Message - From: "devil_online" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 01, 2004 9:05 PM Subject: Re: [PHP] print at a specific time > and to print at minutes too, kije 9h01? > > thanks > "John Holme

Re: [PHP] print at a specific time

2004-09-01 Thread devil_online
and to print at minutes too, kije 9h01? thanks "John Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > devil_online wrote: > > > Hi, I want to print or echo something in a specific time like 9.pm. > > how can i do it? > > if(date('H')==21) > { echo "'tis 9pm and all is well?";

Re: [PHP] print at a specific time

2004-09-01 Thread John Holmes
devil_online wrote: Hi, I want to print or echo something in a specific time like 9.pm. how can i do it? if(date('H')==21) { echo "'tis 9pm and all is well?"; } -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.php