You are here: Parser Error with Double Quotes « PHP Programming Language « IT news, forums, messages
Parser Error with Double Quotes

Posted by SharkHunter on 11/18/48 11:44

Hi all,
I am new to PHP programming.

When I started with small examples of PHP, i landed with such errors
which make me feel annoying.

Incase of this snippet
---------
06 <?php
07 echo "Click here to see information about my favorite movie!";
08 echo "</a>";
09 ?>
-----------------------------------

the following error occurs..

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in
C:\Program Files\xampp\htdocs\movie1.php on line 7

But while i replace the double quotes with single; everything works
perfectly..

Please comment on this.

Regards,
madan

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация