PHP error - use of undefined constant at line x... what does this mean?
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 QuestionsUpon sending email I get an error message about every other time using the Mail() function from a form that is filled out in HTML. The email fails to send on EVERY OTHER form.
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
I get a parse error - unexpected ; at line x message. What is this?
Is it possible to create php programs and view them if my operating system is DOS, not unix? Whether I create a DocumentRoot of C:\public_html, or C:/public_html, in my httpd.conf file, the result is: When go to http://127.0.0.1, I see: Index of
( ! ) Parse error: syntax error, unexpected T_VARIABLE in C:wampwwwsessionindex.php on line 8