Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wordpress and Excel

Featured Replies

Wordpress and Excel, basically is it possible?

 

As a client of mine has thousands of cell's of information in an excel document and i need to know if there a way to spit out the information in wordpress or just generally into a webpage. (As once it's in the webpage I could style it using CSS).

 

Can you do it? Is there a way to do it?

 

Owen

Edited by OwenONeill

There are plenty of site/tools out there that will do it if you just want it as a one-off. Just search for "Excel to HTML table".

 

If you're looking to do it on more of a long term basis, it would be easier to convert the spreadsheet to a CSV file. Then either import that into a database, or use something like fopen/fgetcsv and a bit of PHP to open the file and convert into HTML.

  • Author

There are plenty of site/tools out there that will do it if you just want it as a one-off. Just search for "Excel to HTML table".

 

If you're looking to do it on more of a long term basis, it would be easier to convert the spreadsheet to a CSV file. Then either import that into a database, or use something like fopen/fgetcsv and a bit of PHP to open the file and convert into HTML.

 

That sounds pretty good! So basically I could use the link below and spit it into a Wordpress loop somehow?

 

http://www.homeandlearn.co.uk/php/php10p6.html

 

That would seriously save me a lot of time.. and I could actually just drop the CSV's into a folder...

 

(may not be 100% correct, but want a rough idea)..

Edited by OwenONeill

Yup, that's the kind of thing I was talking about.

 

However, a lot of webhosts disable fopen() on their servers as it's consider to be a security risk if you don't use it properly so you may have to go down the database route.

  • Author

Yup, that's the kind of thing I was talking about.

 

However, a lot of webhosts disable fopen() on their servers as it's consider to be a security risk if you don't use it properly so you may have to go down the database route.

 

 

Cheers Roothost - Appreciate it, you have definitely put me on the right track; I suppose as I am using Wordpress, I could develop a custom post type and display each row in the csv as a separate post - using something like this? http://wordpress.org/extend/plugins/csv-importer/other_notes/

 

Do you think that would work, using a loop and then having it spit out the information and stop when no more row's are seen in the file?..

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.