Re: [PHP] Variables changes their values

2003-06-04 Thread Marek Kilimajer
Cut&paste the code, also file include/surveysavereply.inc. Svein Larsen wrote: On Tuesday 03 June 2003 15:27, CPT John W. Holmes wrote: On Tuesday 03 June 2003 13:58, Jay Blanchard wrote: [snip] We would have to see some code Jay I'm not able to reproduce this in a short code-snippet. But fr

Re: [PHP] Variables changes their values

2003-06-04 Thread Jason Wong
> Yep, its a bad paste :) The script is error-free... > But there is no code that change the variable and it still get changed. > Eg. it change from 75497 to 6894 In order of increasing probability: - you can attribute it to black magic - you've hit upon a php bug - there's something wrong wi

Re: [PHP] Variables changes their values

2003-06-04 Thread Svein Larsen
On Tuesday 03 June 2003 15:27, CPT John W. Holmes wrote: > > On Tuesday 03 June 2003 13:58, Jay Blanchard wrote: > > > [snip] > > > We would have to see some code > > > > > > Jay > > > > I'm not able to reproduce this in a short code-snippet. > > But from the first echo to the last echo $lid ch

Re: [PHP] Variables changes their values

2003-06-04 Thread Svein Larsen
Thats the strange thing... there IS NO CODE that change the value... And the cut/paste is bad... there is no parse errors and the code snip is only a small part of a scriptfile. - Svein On Tuesday 03 June 2003 15:33, Jay Blanchard wrote: > [snip] > I'm not able to reproduce this in a short code-

RE: [PHP] Variables changes their values

2003-06-03 Thread Jay Blanchard
[snip] I'm not able to reproduce this in a short code-snippet. But from the first echo to the last echo $lid change its value: if ($hostid==31) echo "lid1: $lid"; # Paragraphs [/snip] $lid is getting set the first time before the IF statement. From this IF to the last $lid in what yo

Re: [PHP] Variables changes their values

2003-06-03 Thread CPT John W. Holmes
> On Tuesday 03 June 2003 13:58, Jay Blanchard wrote: > > [snip] > > We would have to see some code > > > > Jay > > I'm not able to reproduce this in a short code-snippet. > But from the first echo to the last echo $lid change its value: Either this is a bad cut and paste job or this script wi

Re: [PHP] Variables changes their values

2003-06-03 Thread Svein Larsen
On Tuesday 03 June 2003 13:58, Jay Blanchard wrote: > [snip] > We would have to see some code > > Jay I'm not able to reproduce this in a short code-snippet. But from the first echo to the last echo $lid change its value: if ($hostid==31) echo "lid1: $lid"; # Paragraphs #

Re: [PHP] Variables changes their values

2003-06-03 Thread CPT John W. Holmes
> I'm getting strange behavior in some of my scripts > I just upgraded from 4.3.1 to 4.3.2 and was hoping it would solve the > problem. The problem is that variables changes its values from one line og > code to another - without specific code that should change the value. > Do anybody else had t

RE: [PHP] Variables changes their values

2003-06-03 Thread Jay Blanchard
[snip] I'm getting strange behavior in some of my scripts I just upgraded from 4.3.1 to 4.3.2 and was hoping it would solve the problem. The problem is that variables changes its values from one line og code to another - without specific code that should change the value. Do anybody else had this

[PHP] Variables changes their values

2003-06-03 Thread Svein Larsen
I'm getting strange behavior in some of my scripts I just upgraded from 4.3.1 to 4.3.2 and was hoping it would solve the problem. The problem is that variables changes its values from one line og code to another - without specific code that should change the value. Do anybody else had this proble