Changeset 7789 for temp/trunk/data
- Timestamp:
- 2006/11/08 15:56:35 (20 years ago)
- Location:
- temp/trunk/data
- Files:
-
- 2 edited
-
class/SC_Query.php (modified) (1 diff)
-
downloads/module/mdl_epsilon/mdl_epsilon.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_Query.php
r7711 r7789 410 410 } 411 411 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 416 422 } 417 423 ?> -
temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.php
r7786 r7789 135 135 136 136 $objQuery->insert("dtb_payment", $arrData); 137 138 137 } 139 138
Note: See TracChangeset
for help on using the changeset viewer.
