Can anyone see where I am going wrong?? With the following code I am gtting the error message
Call to undefined function: msql_fetch_array()
which points to the line $result = mysql_query($query);
<?PHP
$con = mysql_connect("Localhost","$database","$password");
$query = "Select file_name, file_rating from pafiledb_files order by file_rating desc limit 0, 10";
$result = mysql_query($query);
While( $row = msql_fetch_array($result))
{
echo $row[file_name];
echo $row[file_rating];
echo "<br>";
}
?>