Home  >  Article  >  Backend Development  >  点击列头进行排序(报表中的数据为动态数据)

点击列头进行排序(报表中的数据为动态数据)

WBOY
WBOYOriginal
2016-06-13 12:04:58749browse

点击列头进行排序(表格中的数据为动态数据)
 想要实现点击列头进行排序,table中的内容为动态数据,只有一行(一个tr),网上找到的代码都是对固定数据进行排序的。求一份动态数据排序的代码。


            
                




                


print --> 
    
    
    
    
     
             
  
  
------解决方案--------------------

------解决方案--------------------

------解决方案--------------------
分类名称 排序1 操作
 
$val[category_name]
$val[category_rank]
                    
    
                    
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn