note 3431 deleted from Constants by ronabop

From: Date: Sun, 03 Sep 2000 20:34:11 +0000
Subject: note 3431 deleted from Constants by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-4083@lists.php.net to get a copy of this message
Hi, I'm not sure about this but it seems that you forget the " (quotes) surrounding the TRUE in <pre> define('CONSTANT', TRUE); </pre> In the other example you don't refer to the same variable (remember variables are case sencitive). Try <pre> $value = true; define('CONSTANT', $value); </pre> instead, I think that should work, though I haven't tested it yet.

« previous php.notes (#4083) next »