how to retrieve an excel spreadsheet on a php page

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
niru23
Forum Newbie
Posts: 1
Joined: Sat Aug 29, 2009 2:55 pm

how to retrieve an excel spreadsheet on a php page

Post by niru23 »

I want to (in the back end) have an excel sheet that I can adjust the values, add new values etc.Then in the front end display these values in the form of an excel spreadsheet.
For this purpose, I have uploaded an excel sheet in the public_html of my website and am sending this a href link to retrieve that excel sheet.
<a href ="myfile.xls.lnk"> click here </a>

But its not happening that way. Am getting the result as link is broken.

Could someone point out where am going wrong and what has to be done to get what I want.

Regards,
niru
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: how to retrieve an excel spreadsheet on a php page

Post by Mark Baker »

Why myfile.xls.lnk instead of myfile.xls
Post Reply