<?php $f=file('bishka.txt'); for ($i=0; count($f)>$i; $i++) {echo $f[$i], '<br />'} ?>
<?php echo implode("<br>\r\n", file('file.txt')); ?>
<?php $data = file('file.txt'); $total = count($data); if(!isset($_SESSION['run']) OR $_SESSION['run'] > $total){ $_SESSION['run'] = 0; }else{ $_SESSION['run']++; } echo $data[$_SESSION['run']];
session_start()