Php Error - Use Of Undefined Constant At Line X. - Programming - Nairaland
Nairaland Forum › Science/Technology › Programming › Php 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. |
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
Eliminate Render-blocking Javascript And CSS In Above-the-fold Content • I Want A Skilled Developer To Join Me On A Project! • How Do I Learn Programming With My Android Device?