HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Software / Tools > Programming, Coding, (Web)Design


Programming, Coding, (Web)Design Discuss all your programming or design needs with likeminded people.

Reply
 
Thread Tools
Old Aug 24, 2004, 08:29 PM   #1
Spoos
 
Join Date: May 2002
Location: State College, PA, USA
Posts: 435
Rep Power: 0
Alistair is on a distinguished road
System Specs

Free Methods to Convert Excel to mySQL?

Does anybody know of any methods I could use to convert an Excel file into a mySQL database. I would appreciate any help/advice as I really don't want ot manually convert 800+ records over...

PS. I've been searching google for quite some time now to no avail Lots of pay to use programs though.
__________________
- Alistair
Alistair is offline   Reply With Quote


Old Sep 6, 2004, 10:10 PM   #2
A Legend in Underwear
 
UberLord's Avatar
 
Join Date: May 2002
Location: Unknown
Posts: 5,255
Rep Power: 0
UberLord will become famous soon enough

I know this is old but here's a link which should help you

http://www.phpbuilder.com/columns/kenlin20031229.php3

BTW, why not use a PostgreSQL database? It's much better .....
__________________
Gentoo Linux - Developer (baselayout)
Read my blog

"I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours."
Stephen Roberts
UberLord is offline   Reply With Quote
Old Sep 22, 2004, 05:00 PM   #3
DriverHeaven Newbie
 
Join Date: Sep 2004
Posts: 14
Rep Power: 0
mrQQ is on a distinguished road

hows postgresql better than mysql?

and to answer the question: just save the excel file as csv, then write a simple say php script like

$f = file("data.csv");
for ($i=0;$i<count($f);$i++) {
$d = explode(';', $f[$i]);
..
}

you get the idea..
__________________
[color=silver]Don't judge a thing till you know what's inside[/color]
mrQQ is offline   Reply With Quote
Reply

Thread Tools