Settings | Sign in | Sign up

There is currently 1 post.

備份

Floor 1 巨大八爪鱼 11/11/10 13:24
//排序
   foreach ($stfed as $i=>$v){
    //$stfed:昨天的全部活動,$stf:今天的全部活動
    //$i:活動編號,$v:活動顯示序號
    if (!is_numeric($v)) continue; //若活動顯示序號不是數字
    //若昨天的活動編號今天有,則對齊
    //$i就是昨天的活動編號,首先判斷今天有沒有這個活動,沒有的話就continue
    $Is=arraygetid($stf,$i); //鍵名
    if ($Is<0) continue; //若今天沒有這個活動
    $IS=$str[$Is]; //今天這個活動的顯示序號
    //$v:昨天這個活動的顯示序號
    
    //對齊
   }

Content converter:

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
©2010-2025 Purasbar Ver3.0 [Mobile] [Desktop]
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported license.