Error accessing sample database
";
if (mysql_errno()) print "Error code = ".mysql_errno()." : ".mysql_error()."
";
exit();
}
#
#Read in the revenue data into arrays
#
while ($row = mysql_fetch_row($status)) {
$software[] = $row[0];
$hardware[] = $row[1];
$services[] = $row[2];
}
?>
Database connection test successful