"Use of undefined constant" error

From: Date: Tue, 17 Dec 2002 10:46:54 +0000
Subject: "Use of undefined constant" error
Groups: php.general 
Request: Send a blank email to php-general+get-128526@lists.php.net to get a copy of this message
Hello, I've got a strange pb. Here's my code <? if(isset($_GET[id])){ do something... else do something else } ?> When I call myfile.php I've got the "somthing else" with no error. When I call myfile.php?id=1 I've got the "something" but with an error message "Notice: Use of undefined constant id - assumed 'id' in ..." Please help

« previous php.general (#128526) next »