Modifica:
Codice PHP:
$myvarsql = "SELECT file_content FROM `presentazione` where id='$id' ";
$myquery = mysql_query ($myvarsql,$connection)
or die ("query di selezione fallita $myvarsql <br>");
while ($myvalues = mysql_fetch_array($myquery))
{
$file_content = $myvalues['file_content'];
echo "$file_content";
}
Con
Codice PHP:
$myvarsql = "SELECT file_content, file_name FROM `presentazione` where id='$id' ";
$myquery = mysql_query ($myvarsql,$connection)
or die ("query di selezione fallita $myvarsql <br>");
while ($myvalues = mysql_fetch_array($myquery))
{
$file_content = $myvalues['file_content'];
$file_name = $myvalues['file_name'];
echo "$file_content";
}