You are here: Re: Weird result?? php 4.4.0 « PHP Programming Language « IT news, forums, messages
Re: Weird result?? php 4.4.0

Posted by PTM on 07/27/06 22:11

"Bob Stearns" <rstearns1241@charter.net> wrote in message
news:bwayg.1867$2M3.354@fe04.lga...
>I have a variable v with the value -1. After v++ it has the value "" not 0.
>Since I am using it for a subscript, the "" value is not overwriting the 0
>element of the array as desired. Should v++ ever give a non-numeric value?

I used to use a variable initialised with -1, and never noticed the problem
you are having.
What are you trying to do with it and have you got an example of the code so
we can see what's going on?

Phil

 

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

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