在PHP中输出HTML代码
<?php
echo <<< EOT
<table width=80% border="2" cellpadding="3" cellspacing="0" bordercolor="#808080">
<tr bgcolor="#84A9E1">
<td align="center">ClassID</td>
<td align="center">stuno</td>
<td align="center">学生姓名</td>
<td align="center">家长姓名</td>
<td align="center">家长手机号</td>
</tr>
EOT;
?>
您可能感兴趣的文章:
ob_start 生成html页面代码
php输出汉字乱码怎么解决?
html中php怎么执行
PHP在页面中原样输出HTML代码的方法介绍
设置php页面编码的二种方法
php中怎么嵌入html代码
学php要html基础吗?
php去除HTML标签的二种方法
js代码中如何使用php变量
php 判断字符串是否包含html标签