Common PHP error messages

Debugging your code may take your time. So it is quite a good idea if you can list down common errors so that you can overcome it faster the next time you find it.

Below are some common errors that I always found when running a PHP programming. Will add more later.

Parse error: parse error, expecting `’,” or `’;” in c:\program files\apache group\apache\htdocs\adan\calendar.php on line 38

No semi-colon ‘;’ at the end of code line

Parse error: parse error in c:\program files\apache group\apache\htdocs\adan\calendar.php on line 35

1. Your variable is not start with dollar sign ‘$’

2. You are missing ‘{‘ or ‘}’ at the beginning or end of a control or loop logic

mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in c:\program files\apache group\apache\htdocs\adan\attd_history.php on line 34

MySQL error – most probably the field does not exist or sql statement syntax error

Related Posts

0 Responses to “Common PHP error messages”


  1. No Comments

Leave a Reply




Nota kepada pengunjung

Selain membaca blog ini, anda juga boleh rujuk twitter post di bawah atau subscribe list saya di sini

To search, enter keyword and hit enter



Pendapat Anda

Adakah anda mempunyai akaun Twitter?

View Results

Loading ... Loading ...

Looking for a house?