报错如下:
1054) Unknown column '$catid' in 'where clause'
SELECT * FROM ecm_gcategory Where cate_id=$catid ORDER BY cate_id
1054) Unknown column '$catid' in 'where clause'
SELECT * FROM ecm_gcategory Where cate_id=$catid ORDER BY cate_id
双引号!
$sql_store = 'SELECT * FROM ecm_gcategory Where cate_id='.$catid.' ORDER BY cate_id';