- Timestamp:
- 2006/11/26 18:48:38 (20 years ago)
- Location:
- temp/trunk/html
- Files:
-
- 2 edited
-
install/user_data/templates/detail.tpl (modified) (previous)
-
products/detail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/products/detail.php
r8973 r8974 86 86 } else { 87 87 //±ÜÍ÷ÍúÎò¤ÎÃæ¤Ç°ìÈָŤ¤¤â¤Î¤òºï½ü¤·¤Æ¿·µ¬Äɲà 88 $where = "customer_id = ? AND update_date = (SELECT MIN(update_date) FROM ".$table." WHERE customer_id = ? ) "; 89 $arrval = array($objCustomer->getValue("customer_id"), $objCustomer->getValue("customer_id")); 88 $oldsql = "SELECT MIN(update_date) FROM ".$table." WHERE customer_id = ?"; 89 $old = $objQuery->getone($oldsql, array($objCustomer->getValue("customer_id"))); 90 $where = "customer_id = ? AND update_date = ? "; 91 $arrval = array($objCustomer->getValue("customer_id"), $old); 90 92 //ºï½ü 91 93 $objQuery->delete($table, $where, $arrval);
Note: See TracChangeset
for help on using the changeset viewer.
