i have problem with php syntax?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mys78
    New Member
    • Jun 2010
    • 1

    i have problem with php syntax?

    Code:
    <?php /LINE 1/
    /*LINE2*/ echo "<img style="float: left;" border="0" src="http://bytes.com/submit/images/check.png" align="absmiddle" /><span class="content">&nbsp;<s>I've backed up my database.</s> <strong>Good, but why not back it up twice?</strong> <a href="http://www.customcms.net/members/viewforum.php?f=14" class="contentlight" target="_new">How do I back up my database?</a></span>"echo "<img style="float: left;" border="0" src="http://bytes.com/submit/images/check.png" align="absmiddle" /><span class="content">&nbsp;<s>I've backed up my previous installations files.</s></strong></span>"echo "<img style="float: left;" border="0" src="http://bytes.com/submit/images/check.png" align="absmiddle" /><span class="content">&nbsp;<s>I've set the folder and config permissions.</s></span>"echo "<img style="float: left;" border="0" src="http://bytes.com/submit/images/check.png" align="absmiddle" /><span class="content">&nbsp;<s>I've double checked my database settings.</s></span>"echo "<img style="float: left;" border="0" src="http://bytes.com/submit/images/check.png" align="absmiddle" /><span class="content">&nbsp;<s>My license.php f /*LINE 2/
    What the problem this? can u help me?TQ
    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in/home/website/public_html/smartgame/install_update/install.php on line 2
    Last edited by Niheel; Jun 27 '10, 04:58 PM. Reason: please use code tags to display code
  • jx2
    New Member
    • Feb 2007
    • 228

    #2
    you should have type \" instead of " (cos this close a 'line')
    or use single apostrophe:
    echo 'any "text" here';

    Comment

    Working...