Re: Variables changes their values
| From: | Svein Larsen | Date: | Tue, 03 Jun 2003 14:05:31 +0000 |
| Subject: | Re: Variables changes their values | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149966@lists.php.net to get a copy of this message | ||
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 change its value:
>
> Either this is a bad cut and paste job or this script will never run
> because it's full of errors. Either way, if $lid changes, it's because
> you're changing it. Maybe you have an if($lid = 'value') instead of if($lid
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
- Svein