Kurinchi Blogger Scribbles …


Archive for July 1st, 2009

Jul 01
2009

PHP Parse error unexpected T_STRING

Last updated: July 2nd, 2009

Sample error message that you may have come across when designing php pages …

Parse error: syntax error, unexpected T_STRING in C:\wampserv\www\my_program.php on line 4

Solution:
Check your program to see if there is a missing semi-colon at the end of line 3. Php need the character “;” at the end of the statements to indicate the end of php command.


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict