PHP Questions Home
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

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


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.

ASK A QUESTION

More errors PHP Questions

I have 2 forms in one website... What do I name the php files for each form? The first php file is named: send_form_email.php, what do I name the second, or do they both go in the same php file?

I get a PHP warning for array to string conversion - what is this?

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /ebs/home/hrrtllm/domains/hrrtllm.aisites.com/public_html/w5a1/details.php on line 6

hi guys i have a problem with my script it says my strings are undefined but i clearly did it worked before some help please Patientnaam: geboorte datum: Afdeling:

I need to set the object variable at run time, it is working, but PHP returns me: Creating default object from empty value (/sct/fw FW_List.class.php:1142) function set Template (&$object, $tpl_names){ foreach($tpl_names as $tpl_type) { $



Custom Search