You are here: Re: Question from php cookbook « PHP Programming Language « IT news, forums, messages
Re: Question from php cookbook

Posted by Philip Ronan on 10/12/81 11:34

"Mike" wrote:

> I understand the documentation well. And yes I read the documentation.And
> yes I know those functions in and out. That wasnt my question.Let me
> clarify:
> I wrote:"I dont understand what the $yesterday and $day_secs are for?"
> What do those 2 variables have to do with creating the calendar???

(Please don't top-post)

Presumably the calendar writes dates in a different style if they are in the
past. So if ($day_secs >= $yesterday), that means the date currently being
draw is either today's date or some future date. I expect if you look
further down in teh code you'll see that these dates are displayed in bold
type, for example.

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация