SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    export output in MS-Excel

    hi everyone
    I am building a system in PHP and MySQL that exports output in Ms-Excel after performing query from MySQL ... Please suggest me appropriate library or code...
    Waiting for reply....

  2. #2
    SitePoint Zealot
    Join Date
    Nov 2012
    Posts
    117
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    this code was for me useful, when i had the same trouble.

  3. #3
    SitePoint Member
    Join Date
    Sep 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Vincentas for your kind support,
    When I run "this code" I got following error:
    Fatal error: Using $this when not in object context in C:\xampp\htdocs\stud\xl.php on line 4
    Please help me....

  4. #4
    SitePoint Addict bronze trophy vectorialpx's Avatar
    Join Date
    Dec 2012
    Location
    Bucharest
    Posts
    247
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    From what Vincentas said, you can go to http://phpexcel.codeplex.com
    Simple tip: if you need a simple Excel file, just for view, create a HTML table and name it as .xls Excel knows how to handle it.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •