![]() |
Coding errors
Hey I know PHP but I am not really familiar with all the errors... Like I came across a error
Quote:
Thanks, King |
Most syntax errors are very basic typing mistakes: most often missing a semi-colon off of the end of the previous line of code, or not matching up your parenthesis pairs.
|
Salathe is right.
I never really come across any PHP errors such as these any more. However, when I used a simple application for programming, such as Notepad, these errors were commonplace. Try using Zend Studio or something similar. They will point out the syntax errors before you even attempt to execute the script. |
The error you have means it's come across a variable it wasn't expecting. You will have left out a ';'.
Read the error, it tells you exactly what's wrong. |
Not always
|
Quote:
Parse error: This means that it had a problem reading the code syntax error, This means that the error lies within the grammatical structure of the program unexpected T_VARIABLE this means that it found a variable when it did not expect one (IE when it is not allowed to be present). in /home1/clubbink/public_html/changestatus.php on line 8 This provides the location where it ran into the error. To basically, this message says that you placed a variable where it should not be on line eight. These errors are most commonly forgotten semi-colons, but can manifest themselves in forgetting or misplacing anything. If that is not descriptive enough, I don't know what is. |
Got this error last week to. What I had done was the following:
PHP Code:
PHP Code:
|
Yeah, I understand that
|
| All times are GMT. The time now is 03:06 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0