Alright I did some tinkering and came up with this:
function getTablevalues()
{
$query_biz = "SELECT * FROM paceReport2 WHERE bizunit = 10";
$result = mysql_query($query_biz)
or die(mysql_error());
$j =1 ;
while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
foreach ($row as $colname => $value)
{
$array[$j][$colname] = $value;
}
$j++;
}
return $array;
}
$tableValues = getTableValues();
That will run through the table and create a save location for the individual values. And then to display them in the table cells you add the following:
echo $tableValues[1]['value'];
echo $tableValues[2]['value'];
Just if you were wondering how to do it.