PHP comment in array? -
i'm trying comment out snippet between ~/**********/~ in below code inside of php function:
$photobody[]="<tr><td colspan=\"".$cols."\"> <table width=\"100%\" border=\"0\"> <tr><td width=\"33%\"> <div align=\"left\" class=\"caption\">".$prev."</div></td> <td width=\"33%\"> ~/***** <div align=\"center\" class=\"caption\">photos <strong>".($photonum-(($rows*$cols)-1))."</strong> <strong>".$endnum."</strong> of <strong>".count($photos)."</strong> <br />".$photopage."</div> ****/~ </td><td width=\"33%\"> <div align=\"right\" class=\"caption\">".$next."</div></td></tr></table></td></tr>";
having difficulty. there need escape section comment out? little help. thanks.
you should close previous string "
in order text after /*
comment:
"<td width=\"33%\">" /***** <div align=\"center\" class=\"caption\">photos <strong>".($photonum-(($rows*$cols)-1))."</strong> <strong>".$endnum."</strong> of <strong>".count($photos)."</strong> <br />".$photopage."</div> ****/ "</td><td width=\"33%\">"
Comments
Post a Comment