alomejor te comiste el signo del dollar en alguna variable $$$$ o es una errata
Código PHP:
Ver original$result = mysql_query("SELECT * FROM upload_files WHERE upload_date_file = upload_date_file ORDER BY id_file DESC LIMIT 1", $coneccion);
$result = mysql_query("SELECT * FROM upload_files WHERE upload_date_file = '$upload_date_file' ORDER BY id_file DESC LIMIT 1", $coneccion);