함수_-_

함수_-_

더시민 0 24 0

function get_programs(){
    global $g5;
    $tmp_write_table = $g5['write_prefix'] .'site'; 
    $sql = " select * from {$tmp_write_table} where wr_is_comment = 0 order by wr_num ";
    $result = sql_query($sql);
    for ($i=0; $row = sql_fetch_array($result); $i++) {
        print_r($row);
        $list[$i] = get_list($row, $board, $latest_skin_url, $subject_len);
        $list[$i]['first_file_thumb'] = (isset($row['wr_file']) && $row['wr_file']) ? get_board_file_db($bo_table, $row['wr_id'], 'bf_file, bf_content', "and bf_type between '1' and '3'", true) : array('bf_file'=>'', 'bf_content'=>'');
        echo "@@@@@";
    }
}
  
get_programs();      
$site_code = array();
 

0 Comments
제목
Category
Facebook Twitter GooglePlus KakaoStory KakaoTalk NaverBand