1.php è¾åºdivï¼echo <div...
2.phpçechoè¯å¥
php è¾åºdivï¼echo <div...
echo "<div class='hotel-list'>
<div class='pic'><a href='#'><img src='../images/hotel/ ".$row["id"] .".jpg' border='0'/></a></div>
<div class='con'>
<h3><a href='#'> ".$row['name'] ."</a><span><img src='../style/images/star_" .$row["star"].".png'/></span></h3>
<ul>
<li>å°åï¼" .$row["address"]. " </li>
<li>设æ½ï¼" .$row["facility"]." </li>
<li>ç®ä»ï¼" .$row["introduction"]. "</li>
<li><b>é åºçµè¯ï¼</b><p>" .$row["phone"]."</p></li>
</ul>
</div>
<div class='price'>
<p>å <span>èµ·</span></p>
<a href='#'>æ¥çé åº</a>
</div>
</div>";
ä½ åå¼å·åéäº
phpçechoè¯å¥
è¿ä¹ä¸å¤§æ®µä½ å¯ä»¥è¿ä¹åï¼
<?策驰源码php
echo <<<ABC
<iframe src="XX " width="" height="" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
ABC;
>使ç¨çæ¯å®ç符ã