i am trying to store the user entered form data (using php )to a .txt file..
and when i am trying to display the .txt file using php .. the contents are displayed along with the delimiter ( ||) ..how do i get rid of the delimiter in the display ..
i.e. the display is like :
john||mk||mlm||klm||lkm||lkm||lmlk||mkl||female||January||9||2004||ljnbjknjlnln||Expert||
the code i used for above is :
<?php
foreach (glob("formda.txt") as $filename) {
$file = $filename;
$contents = file($file);
$string = implode($contents);
echo nl2br($string);
}
?>
plz do let me know ..how to get rid of the delimiter in the display ???
and can i have the above display in a tabular format ???