You are here: Re: Typecast problem in PHP 5.0.4 « PHP Programming Language « IT news, forums, messages
Re: Typecast problem in PHP 5.0.4

Posted by Alvaro G. Vicario on 12/16/16 11:57

*** Mani escribió/wrote (2 Sep 2006 22:38:05 -0700):
> I am in a situation to do further process only if it is less than 4 so
> i need to compare in better way not like the existing code. Can you
> suggest how to write alternative code for the following snippet?
>
> if ( (int) $forecast['day_sequence'] < 4 ) {

Did you write this code yourself or is it a snipped you copied from
somewhere? It seems that you don't have the faintest idea of what
forecast['day_sequence'] is ... :-?



--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.com
--

 

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

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