Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,152,885 members, 7,817,610 topics. Date: Saturday, 04 May 2024 at 03:23 PM |
Nairaland Forum / Science/Technology / Programming / Php Error - Use Of Undefined Constant At Line X. (1459 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)
Ebola App Challenge/Competition - Disease App That Will Prevent African Genocide / Explaining To Non-programmers How Complex Software Development Is / Who Can Help Me Build Video Game
(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. 4 |