|  | 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)
  Navigation: [Reply to this message] |