Jump to content

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING


simon551

Recommended Posts

Thanks! Is there any difference between your suggestion (which works!) and this (below) which also works? I couldn't have figured this out w/out your suggestion. I remember somewhere about the single/double quote alternation but totally forgot.

 

<?php print "<div id=\"CollapsiblePanel".($i). '"' . " class=\"CollapsiblePanel\">";?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.