Forum Moderators: coopster
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
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
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().