Chaitanya Lakshmi
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook
  • About Me
  • Job Duties
  • Knowledge Blog
  • Applications
  • Contact Us
    • Linked In
    • Facebook

PHP error - use of undefined constant at line x... what does this mean?

4/10/2012

0 Comments

 
This error means exactly that - you are using a constant that has not been declared anywhere in the script.

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.
0 Comments



Leave a Reply.

    Archives

    April 2012
    March 2012
    February 2012

    Categor

    All
    Ajax
    Api
    Cross Site Scripting
    Css
    Curl
    Design Patterns
    Drupal
    Exception Handling
    Htaccess
    Html
    Javascript
    Jquery
    Json
    Linux
    Mysql
    Oops
    Php
    Regular Expressions
    Web 2.0
    Webservices
    Wordpress
    Xhtml

    RSS Feed

Powered by Create your own unique website with customizable templates.