Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/admin/research_modify.php on line 71 的代码是:
<?$query="select period, subject, part, support, complete from research where no=$no;";
$data=mysql_fetch_array(mysql_query($query));?>
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/admin/mem_modify.php on line 123 的代码是:
<?$query="select m_name, m_email, m_homepage, m_final_grade, m_process, m_thesis, m_interest, m_pres_thesis, m_tel, m_filename, m_process_degree from member where m_num=$no;";
$data=mysql_fetch_array(mysql_query($query));?>
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by week asc, title asc' at line 1 这个我感觉是版本的问题呢

解决方案 »

  1.   

    你的order by week asc, title asc那条语句呢?
      

  2.   

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by week asc, title asc' at line 1
    ‘order by week asc, title asc‘这条语句添在哪呢?
      

  3.   

    这个现象比较明显,也是PHP开发者在前进过程中经常遇到的问题
    那就是SQL语句出现了问题
    仔细检查,肯定是这个问题!!!
      

  4.   

    这种情况几乎可以肯定是要执行的SQL语句出错了。LZ是怎样构造SQL的,构造好的SQL又是咋样的?如果你知道这些答案,问题基本也就解决了。