SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    May 2000
    Eugene, OR
    0 Post(s)
    0 Thread(s)
    I have spreadsheet data that I want to import into my database. I have created a database with the same columns as the spreadsheet.

    I understand how to load a file into my database.

    What I need to do, though, is prepare the data in a format that can then be loaded into the database.

    I tried to save it as a tab delimited text file, and then when I loaded the data in, it didn't end up in the right columns. It seems that there were too many columns in the text file... (Although the spreadsheet has the right amount of columns.)

    Any help would be appreciated.;

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Lancaster, Ca. USA
    1 Post(s)
    0 Thread(s)
    Save it as a comma separated value file (*.csv in the Save As list). These are the easiest to import because you don't have to worry about spaces in text screwing you up.

    Wayne Luke - Sitepoint Moderator/Internet Media Developer
    Digital Magician Studios - Making Magic with Web Applications


Posting Permissions

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