一个应该很简单的问题,但急 我把最外的双引号改成了单引号,它里面的引号全都改成双引号,这样似乎就可以了. 但是为什么呢?还有,html里单双引号的用法有什么区别吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 你可以将程序改成:echo "<td height=\"23\" width=\"46\"><p align=\"center\">{$result[$i]['art_id']}</td>"; 就OK了。 楼上正解,还有两种方法:<?php//第一种:echo "<td height='23' width='46'><p align='center'>{$result[$i]['art_id']}</p></td>";//第二种:echo <<<TABLE<td height="23" width="46"><p align="center">$result[$i]['art_id']</p></td>TABLE;?> echo "<td height=23 width=46><p align=center>{$result[$i]['art_id']}</td>"; echo "<td height=23 width=46><p align=center>{$result[$i]['art_id']}</td>";orecho "<td height='23' width='46'><p align='center'>{$result[$i]['art_id']}</td>";orecho "<td height=\"23\" width=\"46\"><p align=\"center\">{$result[$i]['art_id']}</td>"; 帮忙写个正则表达式 选择 哪里虚拟主机好啊 大家都用哪里的 可以推荐一下吗 请教关于php认证的问题 js可不可以获取远程文件是否存在? asp与php冲突问题 请教一下判断域名的正则表达怎么写. 一段代码不明白,求解,谢谢 php能够随时更新显示BT种子文件目前的“连接数”和“种子数”吗? Mysql中 如何指定 某记录的值为随机数 谢谢 紧急求救mSSQL+PHP的问题 懂得用php在window下编程的请进! 奇怪的问题!!!(代码很简单,可问题很奇怪)
echo "<td height=\"23\" width=\"46\"><p align=\"center\">{$result[$i]['art_id']}</td>"; 就OK了。
<?php//第一种:
echo "<td height='23' width='46'><p align='center'>{$result[$i]['art_id']}</p></td>";
//第二种:
echo <<<TABLE
<td height="23" width="46"><p align="center">$result[$i]['art_id']</p></td>
TABLE;?>