OK, well, here's one way you can do that - but you need to change how you write your data to your txt file. When you write it to your file, write it something like this so that each value is seperated by semi-colons and each line is seperated by a double semi-colon.
July 3rd;Allstate Arena;$6;;
March 23;Madigans Pub;$32;;
April 4;TBA;$1;;
then use this script to import your data:
<?php
$fd = fopen ("yourfile.txt", "r");
$content = fread ($fd, filesize ("yourfile.txt"));
fclose($fd);
$line = explode(";;", $content);
echo "<table cellpadding=3 cellspacing=0>";
echo "<tr>";
echo "<th>Date</th>";
echo "<th>Venue</th>";
echo "<th>Price</th>";
echo "</tr>";
foreach ($line as $lines) {
if ($lines) {
$linestr = explode(";", $lines);
$date = $linestr[0];
$venue = $linestr[1];
$price = $linestr[2];
echo "<tr>";
echo "<td>$date</td>";
echo "<td>$venue</td>";
echo "<td>$price</td>";
echo "</tr>";
}
}
echo "</table>";
?>