Forum Moderators: coopster

Message Too Old, No Replies

PHP Execution Error

Throw Exception

         

syedhanif

11:15 am on May 12, 2006 (gmt 0)

10+ Year Member



hi

can anybody explain what is error mean's

Error message: Use of undefined constant degreeLat

i am getting this error message when i am try to run the php from local system

i am really confuse, any one have the solutions for the error message are mostly welcome

pls leave ur comments as soon as possible

warm regards
syedhanif

eelixduppy

11:30 am on May 12, 2006 (gmt 0)



Welcome to WebmasterWorld!

Somewhere in your script, you are using a constant [us3.php.net](example: NULL) that isn't defined. It may be that you forgot to put quotation marks around a value in a function or you misspelled a constant [us3.php.net]. For more detailed help, you should post the line that is giving you the error.

Good luck

eelix

ytswy

11:31 am on May 12, 2006 (gmt 0)

10+ Year Member



I don't pretend to be a php expert, so apologies if this is wrong...

A constant in php needs to be declared before it's used with:
define("CONSTANT_NAME", value);

Possibly you mean to use degreeLat as a variable, in which case it should be $degreeLat. Or it is a function, in which case it should be degreeLat().