Reply to Re: Design Comments and positioning problems

Your name:

Reply:


Posted by Neredbojias on 09/28/05 11:20

With neither quill nor qualm, Toby Inkster quothed:

> Els wrote:
>
> > now it appears I have to test them on all different days of the week as
> > well? :-(
>
> You do if you use day-dependent functions in server-side scripts.
>
> <?php
> $day = (int)date('w');
>
> if ($day)
> {
> print "<p>The day of the week (in numerical "
> print "form) is {$day}.</p>\n";
> }
> ?>
>
> Spot the problem.

Isn't Sunday "0"?

--
Neredbojias
Contrary to popular belief, it is believable.

[Back to original 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

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