PHP error - use of undefined constant at line x... what does this mean?
Now, if you mean to be using constants in the script, then you simply have forgotten to define it, so make sure that you do so.
More often than not however, this happens when you forget to put the $ infront of a variable name, and so you just need to insert the $ immediately before the name of that variable to fix the error.
Comment on this Question and Answer >>>
ASK A QUESTION
More errors PHP Questions
How can i fix my internet webpage?I get the error message headers already sent, what does this mean?
I get a PHP notice for string to array conversion - help?
Hello There...I'm Having This Error which says Parse error: parse error in C:\Program Files\xampp\htdocs\WebFolder\page.php on line 914 BUT that line of code doesn't exist in my programme.Can anybody HELP me? Pleaseee.... p/s:-By The Way, I'm Usi
I get a parse error - unexpected ; at line x message. What is this?
