$result   这个数组结构是什么样的, 看着就点晕。 

解决方案 »

  1.   

    你不是开列了吗?
    SELECT a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name ' .....a.article_id, a.title, ac.cat_name, a.add_time, a.file_url, a.open_type, ac.cat_id, ac.cat_name
    在读出的数组中对应的关联键为
    article_id、 title、cat_name、add_time、file_url、open_type、cat_id、cat_name
      

  2.   

     $row   这个为什么是数组名。 前面没定义呢