line64是注释,怎么会出错?你找错文件了吧?

解决方案 »

  1.   

    select count(*) as amount from cnani_park where class='外部展示'检查这条SQL
      

  2.   

    是这个class 后面的不能跟中文吗?
      

  3.   

    你把这条SQL执行一下,看MySQL提示你什么
      

  4.   

    It is possible that the query failed, or that you failed to connect to the database server. Checking for these potential problems and gracefully handling them should be the way to go.maybe the table cnani_park is in different DB also.Edit it like this:$row_rs = mysql_fetch_array($rs) or die(mysql_error()));
    Please note: This will NOT fix your problem. But it will give a more descriptive message as to what the error cause is.
     
      

  5.   

    select count(*) as amount from cnani_park where class='外部展  示'把你的sql执行以下看有错没有