Hello,
I have some problem with php and getting this error
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
in /home/xxx/public_html/xxxex/include/functions.php on line 240
The Line 240 is :
if (!$Row=mysql_fetch_array($Result))
DOES anyone know what is error here...
full code... -->
// Legge da file le informazioni riguardanti il file specificato in upload
//
function get_file_description($filename, $max_caracters = 0, $replacecharacters = 1)
{
global $DBName, $DBLink;
$Query= "SELECT * from fileinfo where filename='$filename'";
$Result= @mysql_db_query($DBName,$Query,$DBLink);
if (!$Row=mysql_fetch_array($Result)) --- line 240
{
return array('','','');
} else
{