Jump to content


Photo

Import excel in PHP array


  • Please log in to reply
4 replies to this topic

#1 brob

brob
  • Members
  • PipPipPip
  • Advanced Member
  • 37 posts

Posted 27 July 2006 - 12:44 PM

is this possible and if so are there any tutorials for it?

Thanks

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 27 July 2006 - 01:00 PM

If your Excel output is in csv format, you could use the function fgetcsv() - There is a good example of how to use it in the manual.

#3 brob

brob
  • Members
  • PipPipPip
  • Advanced Member
  • 37 posts

Posted 27 July 2006 - 01:11 PM

it just an excel file, is there nothing that will allow me to do this and then add it to an array?

#4 Zeb

Zeb
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 27 July 2006 - 01:19 PM

If you already have this as an Excel document then you can save it out as a CSV file then follow SemiApocalyptic's reply.

#5 brob

brob
  • Members
  • PipPipPip
  • Advanced Member
  • 37 posts

Posted 27 July 2006 - 01:20 PM

it wont be myself uploading the file it will be users that aren't quite sure how to convert the file so it needs to be an excel file.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users