表格输出mysql内容不行 请帮忙看看有什么问题 谢谢各位!
$dbconn=mysql_connect("localhost", "root","");
$sqlname="ms_qua";
mysql_select_db($sqlname,$dbconn);
session_start();
?>
表名:厂家资质信息
序号 |
部门 |
岗位 |
姓名 |
身份证号码 |
合同签订时间 |
证书名称 |
发证单位 |
证书编号 |
发证日期
|
$sql = "SELECT * FROM tables where qua='ms_qua' order by TABLE_NAME";
$result = mysql_query($sql);
while($row=mysql_fetch_array($result))
{
//print_r($row);
?>
|
|
|
|
|
|
|
|
|
|
}
mysql_close($dbconn);
?>
------解决思路----------------------把错误输出打开,比如error_reporting(E_ALL);
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn