Re: Variables changes their values
| From: | Marek Kilimajer | Date: | Tue, 03 Jun 2003 14:18:08 +0000 |
| Subject: | Re: Variables changes their values | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-149972@lists.php.net to get a copy of this message | ||
Cut&paste the code, also file include/surveysavereply.inc.
Svein Larsen wrote:
On Tuesday 03 June 2003 15:27, CPT John W. Holmes wrote: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 - SveinOn Tuesday 03 June 2003 13:58, Jay Blanchard wrote: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[snip] We would have to see some code.... JayI'm not able to reproduce this in a short code-snippet. But from the first echo to the last echo $lid change its value: