SetTitle("Прайс-лист"); ?>
'; while (($data = fgetcsv($handle, 1000, ";")) !== FALSE) { $num = count($data); $row++; if ($row > $_REQUEST['ROW']) { if($data[0] == "" && $data[2] == "") { break; } echo "".iconv("cp1251", "utf-8", $data[1])."".iconv("cp1251", "utf-8", $data[2]). " руб.\n"; } } echo ""; fclose($handle); } } ?>