Quote:
Originally Posted by psili
I do suck at programming... maybe the PHP "if" statement could have simply been:
if( date("H") >= 20 ) // 'H'
{
.. blah blah
}
|
There's no need for the leading zeros. 'G' will work fine. This will work until 11:59, but if you want to get pedantic:
Code:
if (date("G") >= "20" || (date("G") == "0" && date("i") == "00")) {
Quote:
Originally Posted by psili
Grouchy's attentive, for a grouchy guy ;)
He doesn't misplace or forget the special characters.
|
Hahaha. I love using a text editor that colorizes for me. I've used 'vi' until I switched to KDE, and Kate's my new babe.
