message.
Tim Ward
http://www.chessish.com
mailto:[EMAIL PROTECTED]
- Original Message -
From: fragmonster <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 17, 2002 10:49 AM
Subject: [PHP] "Use of undefined constant" error
> Hello,
> I'
Hi,
> "Notice: Use of undefined constant id - assumed 'id' in ..."
Try changing this:
> if(isset($_GET[id])){
to this:
if(isset($_GET['id'])) {
note quotes
PHP thinks you're trying to use a constant called "id", which you haven't
defined - hence the "unde
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 or myfile.php?id=1 I've got an error message
"Notice: Use of undefined constant id - assumed 'id' in ..."
Please help
--
PHP General Mailing List (htt
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 i
4 matches
Mail list logo