Reply to Re: "Array to String Conversion" error when constructing a multi-dimensional array

Your name:

Reply:


Posted by drako on 01/18/07 11:24

Quote:
> I don't understand what this $increment variable has to do with anything.

It doesn't actually relate to anything; but I suspect it was suggested
just to see if anything was output - and nothing was output.

I know if 'register_globals' is switched on, this could potentially
cause a problem, but in this case, globals is switched off, so is not
the problem.

I now suspect this is session-related in someway. As the code looks OK,
the problem arises from elsewhere....

Kimmo Laine wrote:
> "drako" <neil@invidion.co.uk> wrote in message
> news:1169067038.010143.224210@a75g2000cwd.googlegroups.com...
> > OK,
> >
> > I inserted the debugging statements as you suggested:
> >
> >
> > $_SESSION["increment"] = array();
> > echo '1: ';print_r($_SESSION["increment"]);echo '<br>';
> >
> > $x = 0 // Counter - This will be
> > incremented
> > echo '2: ';print_r($increment); echo '<br>';
>
> I don't understand what this $increment variable has to do with anything.
>
> --
> "Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
> http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis
> spam@outolempi.net | rot13(xvzzb@bhgbyrzcv.arg)

[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

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