Ignore:
Timestamp:
2006/09/18 15:46:49 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/develop/csv.php

    r4608 r5002  
    110110        } 
    111111    } 
    112                  
    113     $product_id = $objQuery->nextval("dtb_products", "product_id"); 
    114     $sqlval['product_id'] = $product_id; 
     112     
     113    if (DB_TYPE == "pgsql") { 
     114        $product_id = $objQuery->nextval("dtb_products", "product_id"); 
     115        $sqlval['product_id'] = $product_id; 
     116    } 
    115117    $sqlval['status'] = 1;  // ɽ¼¨¤ËÀßÄꤹ¤ë¡£ 
    116118    $sqlval['update_date'] = "Now()"; 
     
    127129    // INSERT¤Î¼Â¹Ô 
    128130    $objQuery->fast_insert("dtb_products", $sqlval); 
     131    if (DB_TYPE == "mysql") { 
     132        $product_id = $objQuery->nextval("dtb_products", "product_id"); 
     133    } 
    129134} 
    130135 
Note: See TracChangeset for help on using the changeset viewer.