"Curtis Gordon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> <?$today = getdate();?>
> <?$now_date = mktime
(0,0,0,$today['mon'],$today['mday'],$today['year']);?>

    Why not use $now_date = mktime(0,0,0,date('m'),date('d'),date('Y')); ?
Also, do you really use <? ?> on each line?  Wouldn't that just slow down
processing as PHP jumps in & out of "code mode?"

 - Steve Yates
 - When you do a good deed get a receipt, in case heaven is like the IRS.

~ Taglines by Taglinator - www.srtware.com ~



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to