include_once("./_common.php"); $g4['title'] = "카테고리"; include_once("{$g4['path']}/head.sub.php"); for ($i=1; $i<=5; $i++) { echo ''; if ($i == 1) { $sql = " select ca_id, ca_name from $g4[yc4_category_table] where length(ca_id) = 2 order by ca_order, ca_id "; $result = sql_query($sql); while ($row=sql_fetch_array($result)) { echo ''.$row['ca_name'].''.PHP_EOL; } } echo ''.PHP_EOL; } ?>