₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,327,025 members, 8,429,091 topics. Date: Thursday, 18 June 2026 at 12:03 PM

Toggle theme

Php Error - Use Of Undefined Constant At Line X. - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingPhp Error - Use Of Undefined Constant At Line X. (1524 Views)

1 Reply

Php Error - Use Of Undefined Constant At Line X. by clerisy(op): 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

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 Website234

Eliminate Render-blocking Javascript And CSS In Above-the-fold ContentI Want A Skilled Developer To Join Me On A Project!How Do I Learn Programming With My Android Device?