Ignore:
Timestamp:
2006/09/17 22:11:41 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/products/product.php

    r3360 r4967  
    303303 
    304304    if($arrList['product_id'] == "") { 
    305         $product_id = $objQuery->nextval("dtb_products", "product_id"); 
    306         $sqlval['product_id'] = $product_id; 
    307305        // ¥«¥Æ¥´¥êÆâ¤ÇºÇÂç¤Î¥é¥ó¥¯¤ò³ä¤êÅö¤Æ¤ë 
    308306        $sqlval['rank'] = $objQuery->max("dtb_products", "rank", "category_id = ?", array($arrList['category_id'])) + 1; 
    309307        // INSERT¤Î¼Â¹Ô 
    310308        $objQuery->insert("dtb_products", $sqlval); 
     309         
     310        $product_id = $objQuery->nextval("dtb_products", "product_id"); 
     311        $sqlval['product_id'] = $product_id; 
    311312    } else { 
    312313        $product_id = $arrList['product_id']; 
Note: See TracChangeset for help on using the changeset viewer.