check the manual page for ereg... you'll find that it takes 2 parameters
minimum, and the return value is not what your code expects it to be.
http://www.php.net/ereg
Bryan Koschmann - Gkt [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Okay, I think I'm just
Err, yeah, I just figured that out. So now I have this, but it always
matches the first. I even tried setting $now = 2221
Thanks for the help!
Bryan
?
$now = date(Hi, strtotime(now));
$out = not set;
if (ereg([2200-2230], $now))
$out = special;
elseif (ereg([0600-1159],
Err, yeah, I just figured that out. So now I have this, but it always
matches the first. I even tried setting $now = 2221
Thanks for the help!
Bryan
?
$now = date(Hi, strtotime(now));
$out = not set;
Hey...you've got that right now...kind of.
if (ereg([2200-2230], $now))
3 matches
Mail list logo