Current location: Hot Scripts Forums » Programming Languages » PHP » Help regarding excel data import into MySQL DB


Help regarding excel data import into MySQL DB

Reply
  #1 (permalink)  
Old 04-12-06, 09:43 PM
Angelicwolf Angelicwolf is offline
New Member
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Help regarding excel data import into MySQL DB

Hi all. I'm new to this and i need help for importing excel data into MySQL DB and print out in html. im supposed to do this for my project and i have juz did some self learning and practice for 4weeks only. i have read a previous thread http://www.programmingtalk.com/showt...threadid=15964 and tried with the code there but it was unsuccessful.

i tried converting the file to .csv and i could print something out but my lecture said that im supposed to import the file in excel format and not any other format. and even using the .csv all my data got into the same column. the data im supposed to import supposed to have 7 columns like this:
Date | Time | Module | Group | Stud | Venue | Module Coordinator |

fyi im currently assigned to a Linux Debian work station. thanks in advance to u guys for the help
Reply With Quote
  #2 (permalink)  
Old 04-13-06, 11:45 AM
jfulton's Avatar
jfulton jfulton is offline
Community VIP
 
Join Date: Apr 2006
Location: Los Angeles, CA
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Angelicwolf
my lecture said that im supposed to import the file in excel format and not any other format. and even using the .csv all my data got into the same column.
What kind of assignment is that??? That's never going to happen in ther real world! If you can use csv, export the xls file to csv and then read it into mysql using LOAD DATA INFILE.

Otherwise, f you have to pick apart the excel file, you may want to do some research on that...I've never touched it before. And tell your lecturer to come up with some useful assignments for you (unless this is a MS course).
Reply With Quote
  #3 (permalink)  
Old 04-16-06, 08:01 PM
Angelicwolf Angelicwolf is offline
New Member
 
Join Date: Apr 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you very much for your advice. I shall continue on what i have now.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel to MySQL and MySQL to HtML Fr3dY PHP 16 04-28-06 02:47 AM
Retrieving data from MySQL DB pork1977 Script Requests 4 06-13-05 10:26 AM
How to import the textarea data into database superman2004 ASP 2 03-31-05 08:37 AM
How to load Excel data in VB-textbox or label? Nellie Visual Basic 1 03-15-05 06:44 PM


All times are GMT -5. The time now is 07:09 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.