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
I get this error every time I execute a php program. PHP Warning: Module 'gd' already loaded in Unknown on line 0 PHP Warning: Module 'mysql' already loaded in Unknown on line 0I get a parse error - unexpected ; at line x message. What is this?
How can i fix my internet webpage?
Dear all, i am using the Ireport to do the interface of my report and i want to combine it with the ATK Framework using Zend studion. but when i click "Print"(cetak), the page is blank. and the url showing the nokp=array. is there anything wr
I get a PHP warning for array to string conversion - what is this?
