FD_F Posted April 13, 2009 Share Posted April 13, 2009 i need make link for downloading tiff file stored in BLOB mysql i try this : $query="SELECT * FROM `$newtable`"; $result4=mysql_query($query); $num=mysql_numrows($result4); mysql_close(); $i=0; while ($i < $num) { $f1=mysql_result($result4,$i,"id"); $f2=mysql_result($result4,$i,"priyority"); $f3=mysql_result($result4,$i,"faxnum"); $f4=mysql_result($result4,$i,"status"); $f5=mysql_result($result4,$i,"tiffile"); ?> <tr> <td><font face="Arial, Helvetica, sans-serif"><?php echo $f1; ?></font></td> <td><font face="Arial, Helvetica, sans-serif"><?php echo $f2; ?></font></td> <td><font face="Arial, Helvetica, sans-serif"><?php echo $f3; ?></font></td> <td><font face="Arial, Helvetica, sans-serif"><?php echo $f4; ?></font></td> <td><a href="url"><?php header('Content-type: image/tiff'); echo $f5;?></a></font></td> </tr> $i++; and i get open as .. all the time not giving me the link for download the image somone can tell me where i wrong ? thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.