Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • peterbwoj
    New Member
    • Oct 2011
    • 2

    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 10

    I wanna know why im getting this error...
    here is my code
    Code:
    <html>
    <head>
    <title>PHP Test</title>
    </head>
    <body>
    <p>This is an HTML line
    <p>
    <?php
    
    echo “This is a PHP line” ;
    ?>
    </body>
    </html>
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    you didn't use double quote, you used something else, which is not ascii standard "(dobule Quote) fix this.

    Comment

    Working...