Hey, thanks for pointing out that error. Your soultion is a bit overcomplacated. I designed the script to be inserted into my MySQL DB. I then changed it so that it could be output to a browser. The real problem was that in forgot the <br /> tag on the end of one of the lines
$var = strip_tags($var); //return the team name
echo $var;
to
echo trim(strip_tags($var)).'<br />'; //return the team name
hehe, yeah... thanks again for catching it. (You way's cool too

)
and as you can see in that fix, you might want to make sure that you run all the $var's though trim() to kill any whitespace as i forgot to do a few times.