Warum bekomme ich nur immer folgende Fehlermeldung:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in d:\functions\output.php on line 15
I werd bekloppt.
function translation($language)
{
include('../config/config.inc');
include('../auth/databaseauth.php');
$sql = "SELECT key, ".$language."
FROM uebersetzung";
echo $sql;
echo $dbConnection;
$result = mysql_query($sql, $dbConnection);
echo $result;
while ($row = mysql_fetch_array($result)) {
$t[$row['key']] = htmlspecialchars($row['$language']);
}
return $t;
}