Changeset 9023 for temp/trunk/html


Ignore:
Timestamp:
2006/11/26 20:21:48 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/design/main_edit.php

    r9020 r9023  
    111111        $ret = $objDBConn->getAll($sql,array($page_id_old)); 
    112112         
    113         sfprintr($ret); 
    114          
    115113        if (count($ret) > 0) { 
     114             
    116115            // blocposition ¤òÊ£À½ 
    117116            $sql = " insert into dtb_blocposition ("; 
     
    121120            $sql .= "     bloc_row"; 
    122121            $sql .= "     )values(?, ?, ?, ?)"; 
    123             $ret = $objDBConn->query($sql,$ret[0]); 
     122             
     123            foreach($ret as $key => $val){ 
     124                $ret = $objDBConn->query($sql,$val); 
     125            } 
    124126        } 
    125127 
Note: See TracChangeset for help on using the changeset viewer.