|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Errors in PHP...
I realize most of the errors are my doing, but I just can't get around them. Is there any place that explains all the errors, like the different types fo parse errors, syntax errors, etc.? I predict that ane error could mean many different things, but to know what an error means in general would be helpful to trouble shoot the code.
I've read some great tutorials, like the one here on trouble shooting, but they didn't list common errors. Thanks to all.
__________________
bow wow! |
|
#2
|
|||
|
|||
|
Sorry Mate,
You have to learn those error by trial and error at least I coudnt find any document which lists the standard error but one common mistake i know is if you dont terminate the statement with ; ( semicolon) php considers all the following statement as one statement till it encounters a ; and hence it reports a wrong error than what it should, but most of the time the error message is self explaining Hope this help Cheers Jayesh Jain
__________________
Cheers Jayesh Jain |
|
#3
|
|||
|
|||
|
Also anther tip is....
if it says the errors on line 200 and 200 looks fine, look at the line of code before that. That catches alot of people out. |
|
#4
|
|||
|
|||
|
remember to close your curly braces { } and properly format & indent them to easily see where you're missing one
__________________
![]() ![]() "Only Linux users see the end of crashes." - Pl4t0 |
![]() |
| Viewing: Dev Articles Community Forums > Programming > PHP Development > Errors in PHP... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|