= 4) { $row3 = sql_fetch(" select ca_name from $g4[yc4_category_table] where ca_id = '".substr($row[ca_id],0,4)."' "); $ca_name .= "|" . $row3[ca_name]; } $str .= $nl; $str .= "$row[it_id]"; // 상품ID $str .= "^$ca_name"; // 카테고리 $str .= "^$row[it_name]"; // 상품명 $str .= "^$row[it_maker]"; // 제조사 $str .= "^$g4[url]/data/item/{$row[it_id]}_m"; // 이미지URL $str .= "^$g4[shop_url]/item.php?it_id=$row[it_id]"; // 상품URL $str .= "^$row[it_amount]"; // 가격 $str .= "^$row[it_point]"; // 적립금 $str .= "^"; // 할인쿠폰 $str .= "^"; // 무이자할부 $str .= "^"; // 사은품 $str .= "^$row[it_model]"; // 모델명 $str .= "^"; // 추가정보 $str .= "^"; // 출시일 $str .= "^$delivery"; // 배송료 $nl = "\n"; } echo $str; ?>