It is from a form, and so far it outputs onto only one line.
Here is the code im using
Code: Select all
<?php
$commenttext=file_get_contents("d:\hshome\c239198\local54memberforum.com\info.txt");
list($name, $comment) = split("\t", $commenttext);
while (list($name, comment) = split("\t", $commenttext);
echo "<tr>".
"<td>$name</td>\n"."</tr>\n"."<tr>"."<td>$comment</td>\n"."</tr>\n";
?>
Is there anyway to make new lines in the output, or include the rest of the output and not only the first two elements?