PHP5不支持HTML混编吗?各自错误啊,求教~~~
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
--><?php
//引用文件
include("conn.php");
?>
<table width = "500" align = "center" bgcolor = #add3ef>
<?php
$sql = "SELECT * FORM message";
$query = mysql_query($sql);
whiel($row = mysql_fetch_array($query))
{
?>
<tr bgcolor = #eff3ff>
<td>标题:<?php = $row[title]?> 用户:<?php = $row[user]?></td>
</tr>
<tr bgcolor = #ffffff>
<td>内容:<?php = $row[content]?></td>
</tr>
<?php
}
?>
</table>
<?php //引用文件
include("conn.php");
?>| 标题: 用户: |
| 内容: |
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号