By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,779 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,779 IT Pros & Developers. It's quick & easy.

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

P: 2
I wanna know why im getting this error...
here is my code
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <title>PHP Test</title>
  4. </head>
  5. <body>
  6. <p>This is an HTML line
  7. <p>
  8. <?php
  9.  
  10. echo “This is a PHP line” ;
  11. ?>
  12. </body>
  13. </html>
  14.  
Oct 5 '11 #1
Share this Question
Share on Google+
1 Reply


100+
P: 1,059
you didn't use double quote, you used something else, which is not ascii standard "(dobule Quote) fix this.
Oct 6 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.