Changeset 7983 for temp/trunk
- Timestamp:
- 2006/11/09 13:07:31 (20 years ago)
- Location:
- temp/trunk/data
- Files:
-
- 2 edited
-
downloads/module/mdl_epsilon/mdl_epsilon.php (modified) (3 diffs)
-
lib/slib.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.php
r7980 r7983 87 87 $arrData = array( 88 88 "payment_method" => "Epsilon¥¯¥ì¥¸¥Ã¥È" 89 ,"rank" => $max_rank + 190 89 ,"fix" => 3 91 90 ,"creator_id" => $objSess->member_id … … 107 106 $arrData = array( 108 107 "payment_method" => "Epsilon¥³¥ó¥Ó¥Ë" 109 ,"rank" => $max_rank + 1110 108 ,"fix" => 3 111 109 ,"creator_id" => $objSess->member_id … … 129 127 $objQuery->update("dtb_payment", $arrData, " module_id = '" . MDL_EPSILON_ID . "' AND memo03 = '" . $val ."'"); 130 128 }else{ 129 $arrData["rank"] = $max_rank + 1; 131 130 $objQuery->insert("dtb_payment", $arrData); 132 131 } -
temp/trunk/data/lib/slib.php
r7982 r7983 115 115 } 116 116 }else if ($db_type == "mysql") { 117 $sql = "SHOW COLUMNS FROM ?WHERE Field = ?";118 $arrRet = $objQuery->getAll($sql, array($ table_name, $col_name));117 $sql = "SHOW COLUMNS FROM $table_name WHERE Field = ?"; 118 $arrRet = $objQuery->getAll($sql, array($col_name)); 119 119 if(count($arrRet) > 0) { 120 120 return true;
Note: See TracChangeset
for help on using the changeset viewer.
