Here it is... This is the working part. The final product should look like:
http://www.hearsports.com/score.html
<?php
// open the connection
$conn = mysql_connect("localhost", "xxxx", "xxxxx");
// pick the database to use
mysql_select_db("LiveScore",$conn);
// create the SQL statement
$sql = "SELECT * FROM Score";
// execute the SQL statement
$result = mysql_query($sql, $conn) or die(mysql_error());
//go through each row in the result set and display data
while ($newArray = mysql_fetch_array($result)) {
// give a name to the fields
$id = $newArray['ID'];
$Vteam = $newArray['VisitorTeam'];
$Vscore = $newArray['VisitorScore'];
$Hteam = $newArray['HomeTeam'];
$Hscore = $newArray['HomeScore'];
$Period = $newArray['Period'];
//echo the results on screen
echo "The ID is $id<br>";
echo "The Visitor Team is $Vteam <br>";
echo "The Visitor Score is $Vscore <br>";
echo "The HOme Team is $Hteam <br>";
echo "The HOme Score is $Hscore <br>";
echo "The Period is $Period <br>";
}
?>