谁帮忙把段HTML代码用PHP的的echo输出
<tablewidth="717"border="0"align="center"cellpadding="0"cellspacing="0"><tr><tdwidth=...
<table width="717" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="41" background="images/fqbus7.jpg"> </td> <td width="660" align="center" valign="top" bgcolor="#FFFFFF" class="index01"><table width="640" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left"><table width='640' height='33' border='0' cellpadding='0' cellspacing='0' background='images/fqbus10.jpg'> <tr> <td width='25'><img src='images/fqbus9.jpg' width='25' height='33' /></td> <td width='553' class="title">公交换乘方案:[东南商业城]--[富兴木材]</td> <td width='60'><a href='Index.html'>返回首页</a></td> <td width='2'><img src='images/fqbus11.jpg' width='2' height='33' /></td> </tr> </table>
展开
展开全部
<?php echo "<table width="717" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="41" background="images/fqbus7.jpg"> </td> <td width="660" align="center" valign="top" bgcolor="#FFFFFF" class="index01"><table width="640" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left"><table width='640' height='33' border='0' cellpadding='0' cellspacing='0' background='images/fqbus10.jpg'> <tr> <td width='25'><img src='images/fqbus9.jpg' width='25' height='33' /></td> <td width='553' class="title">公交换乘方案:[东南商业城]--[富兴木材]</td> <td width='60'><a href='Index.html'>返回首页</a></td> <td width='2'><img src='images/fqbus11.jpg' width='2' height='33' /></td> </tr> </table> " ; ?> 这样就可以了, 不过要把上边的双引号 全部都改成单引号或者是不加,代码整体用一对双引号就可以了,前提是页面要保存成。php 的!
展开全部
<?php echo "<table width=\"717\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n"; echo "<tr>\n"; echo "<td width=\"41\" background=\"images/fqbus7.jpg\"> </td>\n"; echo "<td width=\"660\" align=\"center\" valign=\"top\" bgcolor=\"#FFFFFF\" class=\"index01\"><table \n"; echo "width=\"640\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">\n"; echo "<tr>\n"; echo "<td align=\"left\"><table width='640' height='33' border='0' cellpadding='0' \n"; echo "cellspacing='0' background='images/fqbus10.jpg'>\n"; echo "<tr>\n"; echo "<td width='25'><img src='images/fqbus9.jpg' width='25' height='33' /></td>\n"; echo "<td width='553' class=\"title\">公交换乘方案:[东南商业城]--[富兴木材]</td>\n"; echo "<td width='60'><a href='Index.html'>返回首页</a></td>\n"; echo "<td width='2'><img src='images/fqbus11.jpg' width='2' height='33' /></td>\n"; echo "</tr>\n"; echo "</table> \n"; ?>
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询