₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,043 members, 8,448,344 topics. Date: Monday, 20 July 2026 at 08:40 AM

Toggle theme

How Can I Export From Webpage To Excel? - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingHow Can I Export From Webpage To Excel? (1227 Views)

1 Reply (Go Down)

How Can I Export From Webpage To Excel? by silvernus0(op): 9:17am On Jan 08, 2018
Hi gurus in the house , please guys i am trying to export data in my php webpage to excel by clicking export and the database value is opened in excel,

I can get and view the data in my webpage but i need to export it to excel so it opens in excel pls php gurus kindly asssit


thanks in anticipation....
Re: How Can I Export From Webpage To Excel? by silvernus0(op): 9:41am On Jan 08, 2018
like to export Web Page Table into Excel and using php
Re: How Can I Export From Webpage To Excel? by Desyner: 11:14am On Jan 08, 2018
Try stackoverflow.
Re: How Can I Export From Webpage To Excel? by LaiveNg: 2:05pm On Jan 08, 2018
If i get you clearly, then you can loop through the dataset and write it to a text file in your server in CSV format with a desired terminating character. Then you can download the text file from your server and use EXCEL spreedsheet to import CSV. Hope it helps...
Re: How Can I Export From Webpage To Excel? by LordRahl001: 8:43am On Jan 10, 2018
Use PHPExcel library... makes it easier.

Just search for thr library or downlpad it with composer phpoffice/phpexcel

Or if you are using laravel, just search for laravel-excel.

Cheers.

PS: please do let us know if you find a solution.
Re: How Can I Export From Webpage To Excel? by silvernus0(op): 3:47pm On Mar 23, 2018
LordRahl001:
Use PHPExcel library... makes it easier.

Just search for thr library or downlpad it with composer phpoffice/phpexcel

Or if you are using laravel, just search for laravel-excel.

Cheers.

PS: please do let us know if you find a solution.
You can export by calling an export page from your present page, by link the form of the present page to an export script which does the conversion to excel
1 Reply

CSS File Not Reflecting In Webpage After UploadsI Need A Webpage And An App.Rate Dis Webpage Design234

Basics Of Image Recognition With PytorchJavascript Is The Language For The Future!Help Me Rate My Newly Built Website