Changeset 8907 for temp/trunk/html
- Timestamp:
- 2006/11/26 16:40:06 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/html/products/detail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/html/products/detail.php
r8906 r8907 141 141 // ¾¦ÉÊ¥³¡¼¥É¤Î¼èÆÀ 142 142 $code_sql = "SELECT product_code FROM dtb_products_class AS prdcls WHERE prdcls.product_id = 1 GROUP BY product_code ORDER BY product_code"; 143 $arrCode = $objQuery->getall($code_sql); 144 145 sfprintr(sfswaparray($arrCode)); 143 $arrProcuctCode = $objQuery->getall($code_sql); 144 $arrProcuctCode = sfswaparray($arrProcuctCode); 145 146 (count($arrProcuctCode) > 1) ? $ProcuctCode = $arrProcuctCode[0] . "¢·" . $arrProcuctCode[count($arrProcuctCode) - 1] : $ProcuctCode = $arrProcuctCode[0]; 147 148 $objPage->ProcuctCode = $ProcuctCode; 149 146 150 147 151 // ¹ØÆþÀ©¸Â¿ô¤ò¼èÆÀ
Note: See TracChangeset
for help on using the changeset viewer.
