Changeset 7789 for temp/trunk/data


Ignore:
Timestamp:
2006/11/08 15:56:35 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_Query.php

    r7711 r7789  
    410410    } 
    411411     
    412     // ¼«Æ°ºÎÈÖ¥Þ¥¹¥¿¤è¤ê¡¢Ãͤò¼èÆÀ¤¹¤ë 
    413     function getautono(){ 
    414          
    415     } 
     412    function get_auto_increment($table_name){ 
     413        $arrRet = $this->conn->query("SHOW TABLE STATUS LIKE $table_name"); 
     414         
     415        $auto_inc_no = $arrRet["Auto_increment"]; 
     416         
     417        $this->conn->query("ALTER TABLE $table_name AUTO_INCREMENT=?" , $auto_inc_no + 1); 
     418         
     419        return $auto_inc_no; 
     420    } 
     421 
    416422} 
    417423?> 
  • temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.php

    r7786 r7789  
    135135             
    136136            $objQuery->insert("dtb_payment", $arrData); 
    137              
    138137        } 
    139138     
Note: See TracChangeset for help on using the changeset viewer.