Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图自动化我大学的点名系统并遇到了这个问题,我试图打印登记册的日期,而不是正常排序,我得到了这种输出。
这是我在php中使用的代码,
for ( $i = 0 ; $i < count ( $attendance ) ; $i++ )<br> $data.="<th rowspan='2'>".$attendance[$i]['date']."</th>";
您如何对日期进行排序以及它们是如何存储的?
看起来它是按第一个数字排序的,没有看到整个日期。