Suppose your datafile is in this exact format every time I'd do this :
Name
Taylor Scott
Email
taylor@superiorinter.net
Name
Jacob Hansen
Email
my@address
<?php
$data = file(<name_of_datafile>);
$element = 0;
for ($row = 0; $row<count($data); $row++) {
$name = $data[$row+1];
$email = $data[$row+3];
$your_data[$email] = $name;
$row = $row + 3;
}
while(list($index, $value) = each($your_data)) {
echo "$index - $value<br>\n";
}
?>
Try it out - I haven't done it myself, but as far as I can "parse" on my own, I think it'll work. If not, I'll try to test it when I get the time.