Excell/CSV files type data need to insert in MySQL database using php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ahmurad
    New Member
    • Aug 2007
    • 19

    Excell/CSV files type data need to insert in MySQL database using php

    Dear brothers,

    I have some importnat files in MS Excell / CSV format. I know php. I want to insert these files into MYSQL database to generate reports.

    What are the techniques to insert the MS Excell / CSV files into MySQL?

    Your kind quick reply is highly appreciated.
  • Justummar
    New Member
    • Jun 2008
    • 5

    #2
    Removed link to a competing forum.

    Try this, I think this is what you are looking for.
    <link removed>

    Last edited by Atli; Jun 7 '08, 07:55 PM. Reason: Removed link to a competing forum.

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      PHP has no support for the proprietary M$ formats, such as Excel spreadsheets and Word documents.

      If you can export them into CSV or XML, PHP and/or MySQL can handle them easily via the LOAD DATA INFILE (see Justummar's link) or PHP's SimpleXML package.

      P.S.
      Justummar, please don't post links to competing forums. Especially if they have their members to pay for access.
      Please check out the Posting guidelines for more.

      Comment

      • ahmurad
        New Member
        • Aug 2007
        • 19

        #4
        Thanks a lot !! I have done huge data analyis tasks (CSV to MYSQL) using this help. Thanks again..!!

        Comment

        Working...