'; foreach ($portial as $value) { $str .="
  • $value
  • "; } $str .= ''; // $countPage = intdiv($len , $limit); // // var_dump($countPage); // $paginator = ''; // for ($i = 0; $i < $countPage; $i++) { // $paginator .= ''.$i.' '; // } header('Content-Type: plan/text; charset=utf-8'); echo ($str);