change
$cxn = @ConnectToDb($dbServer, $dbUser, $dbPass, $dbName);
$result = mysql_query("select * from prices order by partno asc");
to
$cxn = ConnectToDb($dbServer, $dbUser, $dbPass, $dbName) or die(mysql_error());
$result = mysql_query("select * from prices order by partno asc") or die(mysql_error());
That way if there are any problems with the connection (which i suspect there is) then you'll get an appropriate error message
by putting the @ in front of the function call you are supressing any error which makes debuging very very hard
HTH
GM