Просмотр поста #307716: Учу php - нужны задачи

.
islamsoft
Артёмочка (07.03.2013 / 17:35)
[php]
$file = file('test.txt');
for($i=0; $str=$file[$i]; $i++){
$str = explode(':',$str);
$a = $str[0];
$b = $str[1];
$c = $str[2];
$d = $str[3];
echo '<b>Имя:</b>'.$a.'<br>
<b>Возраст:</b>'
спасибо