Reply to Re: Increment (++) question

Your name:

Reply:


Posted by Jeff on 03/22/07 01:35

I'm wondering if it is having problems with the $incrementcontents
being a string coming from the file and then not specifically
converting it to an integer before adding 1 to it. This is pretty
much a guess.

But you might want to try something like.

$incrementcontents = (int)file_get_contents($incrementfilename);
$incrementcontents++;

See if that helps.

[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

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