/    Sign up×
Community /Pin to ProfileBookmark

Importing data from XLS to SQL

hey folks. perhaps someone’s done this before…
I have quite a [url=http://www.cyc.co.uk/Tide04.xls]big xls[/url], and all the information in it, needs to be imported into a mysql database. is there a way to do this?
i use phpmyadmin as the sql editor, and it gives you an import option – but excel doesn’t export the data in the right format to be imported by phpmyadmin.

have you any experience doing this? any pointers to give?

cheers

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@crh3675Jan 23.2004 — You will need to modify the file to have only column headers and data. Export the file as a comma-separated-value file (.csv).
Copy linkTweet thisAlerts:
@hammerslaneauthorJan 26.2004 — thanks, i got it working
×

Success!

Help @hammerslane spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...