提示错误是
Notice: Undefined variable: row in C:\wamp\www\test\PHP26\main.php on line 43
我要用PHP做个表格,显示出SQL表里的数据。
用了屏蔽警告。但是无法显示SQL的数据。
main.php
$link_ID = mysql_pconnect('localhost','root','');
if(mysql_select_db('informat',$link_ID)){
echo "OK";
}else{
echo "NG";
}
$sql = "select * from users ";
$Query_ID = mysql_query($sql);
$num= mysql_num_rows($Query_ID);
while($Record = mysql_fetch_array($Query_ID)){}
?>
个人简历
td{ border:#666 solid 1px;}$(function(){ $(".button").mouseover(function(){$(this).css("backgroundColor","red")}) $(".button").mouseout(function(){$(this).css("backgroundColor","")})})
个人简历名字性别
籍贯政治面貌
学历出生日期
身高爱好
学校专业
地址技能电话
邮箱
不知道哪里写错了。或者说是SQL写错了?