Hi,
I'm designing a web page where users can access certain excel files. I'm using PHP to access MySQL in order to retrieve the corrent path & name of the file, which is working, but I want to open those excel files using MSExcel in one frame of the page. I'm using this code:
$Checklist_Row = mysql_fetch_array($Checklist_Results);
$fp = fopen($Checklist_Row["Checklist"],"r");
fpassthru($fp);
but all I get is gibberish on the screen. I'm using IE, and I'm pretty sure that it has actually opened the excel file, as I can see bits and pieces of the file in the gibberish, but how can I get it to open in the original format in that frame, actually using MSExcel? If someone could tell me (I'm having a heck of a time finding the answer to this one) it would be really appreciated!
Thanks in advance,
xijia