【发布时间】:2016-04-21 19:38:27
【问题描述】:
我正在尝试在 php 函数内部的以下代码中注释掉 ~/**********/~ 之间的 sn-p:
$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> to
<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>";
有一些困难。有什么我需要逃避才能让该部分注释掉的东西吗?帮助不大。谢谢。
【问题讨论】:
-
stackoverflow.com/questions/2713710/…在这里你可以得到一些帮助