什么判断都没有~~就是在页面吧
$connect_name输出啊
就是 <?php echo $connect_name; ?>
这样都出错我简直昏死了~~~

解决方案 »

  1.   

    这样很难查错的你说这个php运行没有错,放到另一个页面就出错,那么“另一个页面”是什么呢?是不是路径改变了呢?
      

  2.   

    1. try the following codedie(mysql_error($result ));
    to see whether you can find the connection path2 try to use forloop to display
      

  3.   

    你在db_config.php 有没有数据库连接失败的返回值或者提示???
    $result = @mysql_query($sql);
    if($result == false)
    {
    echo "mysql_query执行失败";
    exit;
    }
    或者加上这个,如果显示执行失败了,就有两条种可能性
    1 MYSQL库没有连接上
    2 sql语句有问题知道问题出哪了自己改吧
      

  4.   

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\masterphp\internal\admin.php on line 86$result值是空的,检查下$sql或者数据库
      

  5.   

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in D:\masterphp\internal\admin.php on line 86-----------------------------------give us the codes on line 86