Reply to Re: date() gives me yesterday's date and not today's - why?

Your name:

Reply:


Posted by comp.lang.php on 10/15/17 11:39

Yeah it was a serious case of brain freeze. I had
$result[0]->record_entered, when I was supposed to have
$result[$i]->record_entered.. but I fixed it 3 minutes before the
presentation!

Phil

Drakazz wrote:
> Check the $result[0]->record_entered variable, change it to normal text
> , using http://www.4webhelp.net/us/timestamp.php
>
> Of anything, i suggest that you don't use <?= , etc. use ONLY <?php
> echo (date()); ?>
>
> Just print_r the $result array !
>
> Seems that the server is somewhere far away from where you live :)

[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

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