- Timestamp:
- 2006/11/09 10:09:59 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/downloads/module/mdl_epsilon/mdl_epsilon.php
r7952 r7953 187 187 188 188 //¥Ç¡¼¥¿¤ò¼èÆÀ 189 $arrRet = lfGetPaymentDB( );189 $arrRet = lfGetPaymentDB("AND memo03 = ?", array(1)); 190 190 191 191 // Ãͤò¥»¥Ã¥È … … 214 214 215 215 // DB¤«¤é¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë 216 function lfGetPaymentDB( ){216 function lfGetPaymentDB($where, $arrWhereVal){ 217 217 global $objQuery; 218 219 $arrVal = array(MDL_EPSILON_ID); 220 $arrVal = array_merge($arrVal, $arrWhereVal); 218 221 219 222 $arrRet = array(); … … 225 228 memo04 as payment_code, 226 229 memo05 as convenience 227 FROM dtb_payment WHERE module_id = ? ";228 $arrRet = $objQuery->getall($sql, array(MDL_EPSILON_ID));230 FROM dtb_payment WHERE module_id = ? " . $where; 231 $arrRet = $objQuery->getall($sql, $arrVal); 229 232 230 233 return $arrRet;
Note: See TracChangeset
for help on using the changeset viewer.
