Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a PHP Expert!

Join 244,289 PHP Programmers for FREE! Get instant access to thousands of PHP experts, tutorials, code snippets, and more! There are 975 people online right now. Registration is fast and FREE... Join Now!




importing from microsoft excel to php

 
Reply to this topicStart new topic

importing from microsoft excel to php

dheerajshetty31
20 Nov, 2008 - 11:41 PM
Post #1

New D.I.C Head
*

Joined: 20 Nov, 2008
Posts: 7


My Contributions
IF some could just help me out with this, it would be great.

importing an excel sheet containing email ids to an sql database and then be able to send a mail to all the id's which have been imported


User is offlineProfile CardPM
+Quote Post


pemcconnell
RE: Importing From Microsoft Excel To Php
21 Nov, 2008 - 01:23 AM
Post #2

D.I.C Regular
Group Icon

Joined: 5 Aug, 2008
Posts: 467



Thanked: 49 times
Dream Kudos: 75
My Contributions
in excel you need to save the file as a .csv (comma separated values), then in mysql you just import it.

PHPMYADMIN:

1. create a database
2. create a table
3. go to the import tab
4. select and load the .csv file

Note:
the first row of your excel sheet will be loaded as the column names

Hope that helps smile.gif
User is offlineProfile CardPM
+Quote Post

dheerajshetty31
RE: Importing From Microsoft Excel To Php
21 Nov, 2008 - 05:20 AM
Post #3

New D.I.C Head
*

Joined: 20 Nov, 2008
Posts: 7


My Contributions
QUOTE(pemcconnell @ 21 Nov, 2008 - 01:23 AM) *

in excel you need to save the file as a .csv (comma separated values), then in mysql you just import it.

PHPMYADMIN:

1. create a database
2. create a table
3. go to the import tab
4. select and load the .csv file

Note:
the first row of your excel sheet will be loaded as the column names

Hope that helps smile.gif



QUOTE(dheerajshetty31 @ 21 Nov, 2008 - 05:19 AM) *

QUOTE(pemcconnell @ 21 Nov, 2008 - 01:23 AM) *

in excel you need to save the file as a .csv (comma separated values), then in mysql you just import it.

PHPMYADMIN:

1. create a database
2. create a table
3. go to the import tab
4. select and load the .csv file

Note:
the first row of your excel sheet will be loaded as the column names

Hope that helps smile.gif


Hey Thankx a lot!!:-)

It worked perfectly
User is offlineProfile CardPM
+Quote Post

pemcconnell
RE: Importing From Microsoft Excel To Php
21 Nov, 2008 - 05:28 AM
Post #4

D.I.C Regular
Group Icon

Joined: 5 Aug, 2008
Posts: 467



Thanked: 49 times
Dream Kudos: 75
My Contributions
No probs matey - glad I could help smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 03:35PM

Live PHP Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

PHP Tutorials

Reference Sheets

PHP Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month