RE: [PHP] Variables changes their values

From: Date: Tue, 03 Jun 2003 13:33:06 +0000
Subject: RE: [PHP] Variables changes their values
Groups: php.general 
Request: Send a blank email to php-general+get-149961@lists.php.net to get a copy of this message
[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

« previous php.general (#149961) next »