<?php $fh = fopen("s.csv", "r"); while (list($name, $email, $phone) = fgetcsv($fh, 1024, ",")) { echo "<p>$name ($email) Tel. $phone</p>"; } ?>