0
我對PHP頁面進行了以下AJAX調用,以便從數據庫獲取數據以將其顯示在HTML頁面的表中。我想要#OrderTable
是可排序的。我的表在PHP頁面如何對AJAX調用中返回的表進行排序
$output.='<hr />
<table id="SearchResults" class="table table-striped table-bordered" style="width:auto;">
<thead>
<tr>
<th>Order No.</th>
<th>Customer Name</th>
<th>Order Date</th>
<th>Category Name</th>
<th>Category Type</th>
<th>Quantity in Kilos</th>
<th>Delivery Date</th>
<th>Order Status</th>
</tr>
</thead>
';
得到記錄returing order by並將返回的記錄顯示到表 –
使用'SQL'中的'order by'命令將接收到的所有數據進行排序。 – Sand
我需要用戶自己根據他選擇的列的直播時間 – NewPHP