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-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 you posted I couldn't find anything re-setting
> $lid. So you must be doing it outside of the code block. What is the
> initial value of the variable, and what does it change to?
>
> Jay


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to