php errors- (Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';')

2. Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';'

This error occurs when a semicolon missing

For example following code produces this error because of missing a semicolon in second line


<php
echo $s
?>

0 comments: