Thank you so much for taking the time to help me on this. I love forums like this where coders are just there to help each other.
I wish my email notifications were working though as i only just saw this. I spent another 2 hours trying to get it to work and managed to fudge it. I like your way much better though so i'll use your code.
Here's my sloppy attempt. Feels good that i worked through it and learned a few things about php.
<?php
// Create a table from a csv file
echo "<html><body><table>\n\n";
$f = fopen("speedtest.csv", "r");
while (($line