我想知道是否有可能通過兩個單獨的表格進行循環,按照它們的日期排序。我不想一起加入表格。按日期排列兩個單獨的表格
實施例:
表1:
| id | title | date |
| 1 | hello | 2013-07-07|
| 2 | world | 2013-07-13|
表2:
| id | saying | date |
| 1 | this | 2013-07-14|
| 2 | that | 2013-07-10|
我將通過這些使用PHP和MySQL的組合來作爲顯示要循環:
1 hello 2013-07-07
2 that 2013-07-10
2 world 2013-07-13
1 this 2013-07-14
Whil e我意識到這可能是不可能的,如果有一個聰明的解決方案,它會使我的項目管理變得更容易。謝謝。
爲什麼是排序。對的,這是可能的。 [你有什麼嘗試?](http://whathaveyoutried.com) – 2013-07-12 19:16:45