嘿,伙计们,我想从mysql在我的html视图中创建一个基于树的数据。我有一个表,有两列pay_month和pay_year。
数据是这样的:
pay_month pay_year
February 2014
march 2014
January 2015
February 2015
April 2015
may 2015
June 2015
January 2016
march 2016
Decem
你好
对不起,法语,我会尝试英语,我有像这样的树形数组
$keys = array("elment1","elment1","elment2","elment1");
// this one can have duplicates values ,
$operator = array("=","<",">","=");
// operators for Mysql query
$queries = array("query1",