> 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("[22
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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
3 matches
Mail list logo