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.
所以我正在做一个项目,我需要专门提取用户在 ubercart 中进行的最后一次购买,并在特定页面上输出日期和年份。我对如何去做这件事很迷茫,这个项目是由一个辞职的同事处理的,我没有大量的drupal经验。
SELECT MAX(FROM_UNIXTIME(created)) AS last_purchase_date FROM uc_orders WHERE uid = YOUR_USER_ID