Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,548 members, 7,958,680 topics. Date: Wednesday, 25 September 2024 at 08:36 PM |
Nairaland Forum / Science/Technology / Programming / Php Error - Use Of Undefined Constant At Line X. (1477 Views)
Can Blog Be Develope From Scratch Without The Use Of Wp Or Blogger? / Laravel:call To Undefined Method Illuminate\database\eloquent\collection::save() / Ebook On How To Get Constant Visitor To Your Website (2) (3) (4)
(1) (Reply)
Php Error - Use Of Undefined Constant At Line X. by clerisy: 6:26am On Feb 07, 2012 |
PHP error - use of undefined constant at line x, what does this mean? |
Re: Php Error - Use Of Undefined Constant At Line X. by Nobody: 8:29am On Feb 07, 2012 |
spam / spammer |
Re: Php Error - Use Of Undefined Constant At Line X. by hobyner(m): 10:37am On Feb 17, 2012 |
it means you made use of a constant at a particular line of your code but you hadn't declared it yet. In php you have to declare variables and constants before you use them. Or if you want to add a variable without declaring it you can use the @ sign e.g @$userName. |
(1) (Reply)
Programming Code To Turn Off Your System / AIDE Web Free Lessons Needed For Android / Do You Have An Online Shop For Sale Or Can You Develop One?
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 9 |