csmith
Sep 25 2005, 06:05 AM
| | Has anyone tried using the excel import function that comes with phpmyadmin http://www.phpmyadmin.net/home_page/ - it does not require any additional plug-ins or scripts and is fairly straightforward to use. In phpmyadmin, if you click on the database table which you wish to import the data to , there is a link on the bottom left corner which says "insert data from a text file into the table" - although it says text file it still can be used to import an excel file. When you click on this link you will be taken to a page where you will be asked for the file name (the excel file should be saved as a csv file), how the fields in the file are terminated (you would change this to a "," without the quotation marks), and other data formatting attributes (these are usually left blank). I have never found any problem when using this |
Comment/Reply (w/o sign-up)
FLaKes
Sep 25 2005, 06:14 AM
Cool, I just wish you coulve posted this like a couple of months ago. A friend who is a programmer had to make a little php program that would import a huge excel file into phpmyadmin. He first exported the excel as text and then run it through his program and everything was loaded into phpmyadmin. This method wouldve saved us a lot of time.
Comment/Reply (w/o sign-up)
vitrus
Oct 8 2005, 02:47 PM
Hmmzzz I wil start working with that soon. I once started a website that was using excell as a database (only to view not to change) .. So all people in one company could look at the same data via intranet (php)...
Comment/Reply (w/o sign-up)
FeedBacker
Apr 11 2008, 05:52 PM
Import From Excel File Into Mysql Database using Java
Import From Excel File Into Mysql Database
I have to create a java desktop application that upload/loads the data from the MS Excel file (which is also on the desktop) into the specified table in a MySQL DB..
Comment/Reply (w/o sign-up)
FeedBacker
Apr 16 2008, 01:12 PM
So is it possible to transfer a database on MYSQL to another one using this method? Regrads Visual basic guide Http://www.Visualbasicguide.Com -question by Edison
Comment/Reply (w/o sign-up)
FeedBacker
Apr 28 2008, 01:08 AM
how to import excel file to the database in php
Import From Excel File Into Mysql Database
Hi every body,,does any body can help me?in regards in importing an excel file to the data base in php language.Atually am building on it but theres nothing was there in my database -reply by jai2
Comment/Reply (w/o sign-up)
FeedBacker
Jun 9 2008, 09:37 AM
how to upload csv file and make store data in batabase
Import From Excel File Into Mysql Database
Hai I want to Upload an CSV file and make store data in DB... -question by Upendar
Comment/Reply (w/o sign-up)
iGuest-Piper
Jul 1 2008, 06:04 AM
Where's the "insert data from a text file into the table" ? I can't even find it.. -reply by Piper
Comment/Reply (w/o sign-up)
iGuest-Jitendra Kumar
Aug 25 2008, 08:53 AM
How we can import an excel file into MYSQL database.
Import From Excel File Into Mysql Database
Please send me a correct PHP code to import an excel file into MYSQL databse. Thanks. -question by Jitendra Kumar
Comment/Reply (w/o sign-up)
CyrusX
Sep 4 2008, 03:35 AM
Hi, I'm wrestling with the same issue for some time. We want to import our XLS files if possible to a MYSQL database and make them search-able. By the way I had another question that someone here may know the answer and that is how to invert this XLS file into TXT format to import it to MYSQL anyway? Thank you for your help.
Comment/Reply (w/o sign-up)
iGuest
Aug 4 2009, 10:03 PM
THANKS!
Import From Excel File Into Mysql Database
It's 4 years later, but just wanted to add my thanks. I'm struggling to learn all this stuff and spend hours searching the net for answers to my php / mysql / etc. Questions. Thought I'd need to download special software or write some fancy php code - NO! - your solution was a piece of cake!! More people should write-up their easy solutions and get them out for others to see. Thanks again.
-reply by David
Comment/Reply (w/o sign-up)
iGuest
Dec 7 2008, 12:36 AM
phpmyadmin
Import From Excel File Into Mysql Database
Can it be accesses or launched via php code or API call? Is it open source? Please advise.
-reply by Robert
Comment/Reply (w/o sign-up)
iGuest
Sep 10 2008, 10:41 AM
How we can import entries from database into excel sheet. Import From database Into excel sheet Please send me a correct PHP code to import entries of database into excel sheet. Thanks in advance. -question by Sunil Kumar ---- admin reply ------ Please use a tool called PHPmyADMIN to export into EXCEL directly OR EXPORT into CSV format.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : import, excel, file, mysql, database
- Website Structure
PHP, MySQL, HTML, etc. (3)
Vb And Mysql
connecting VB with mysql database (3) hey....i have heard a lot about PHP and MySql, there are a lot of articles about it and every bit of
help is easily available...its a lot easier to set up PHP with MySql....but talking about VB...i
didn't get anything convincing... I know it can be done...if not as easy as Php. I have a
school project in which i have to connect VB application to a mysql database ...please tell me the
easiest way to do it... I have books which tell a lot about VB and oracle....about there
connectivity and database usage..but there is no mention of MySql...I think its not a popular ....
How To Use A Database For Chess Results?
How to set-up, configure, and utilize a database to store chess result (0) Hi, I'm running a website for our chess club. Recently we decided to add a feature for members
to simply enter their tourney results there but I do not exactly know how to do it. The first
problem is how to create form for people to enter their game results. I just have an idea that
working with drop down menus is faster, esaier and more precise than typing the information. The
second problem is how to make these results search-able? Let me tell you the final problem which is
the worst of all that is I do not know how to build a member area. Because Qupis does no....
Need Help With My Database [resolved]
retrive data as a link (6) This is the situation: I have a database where you can add bands ( theire albums, genre other
info) For the album part they can add for each album the songs. So what do i want: When i show
the results there only shoul display the bandname which should be a link to the more detailed info
like albums biography etc. How do I do that. Is there a name for this and are there any
tutorials. thx in advance....
Flash Media Into Html/css Website
does anyone know how to import a flash into a webpage with transparenc (3) Hi I need some help , Im designing this website for school studies However, I made a flash drop down
menu, works perfectly, but you know how flash has a background when you export it in to a SWF file?
For example my flash is width= 800, and height = 200 but my div box on my html page for my
navigation is only 50 px my buttons is width of 50px and the rest of the content is the drop down
animations i want to insert it into my navigation div box but i want to set the flash background to
transparent so that when the drop down menu comes down it overlaps the text or whateva....
Mysql
Several files in one field. (2) Hi guys. I want t know if it is posible to have so many entries for one object in a field in MySQL.
I know my question may not be clear because I lack in terminology but pliz try and help. What I want
to do is for axample have a database of my clients with the following fields for every client:
fname, lname, more than one photos, contrubutions(comments, jokes, testimonials posted) etc. I want
to have the things like the photos in the same field but they have to be unique so that my php code
can deal with them individually llike they are coming from different fields.....
Index In A Mysql Database
Make the numbers follow (3) I hope I am on topic here (It does have to do with web design, after all). I have noticed that in a
MySQL database, the 'id' field just keeps its numbers for every record, with the backdraw
that, whenever you remove (a) record(s) from the table, you get your list numbered as eg.
1,5,6,7,12,25 etc. This makes it a bit difficult of keeping track of the number of records in your
table. Is there a way of achieving (either in PHPMyAdmin or through the use of PHP) that the id
field in your table gets sort of 'refreshed and updated' so you have a clearer view....
How Many Times Was The File Taken?
Counting downloads (5) I was wondering if someone could help me with the following: On my website there is a small file
which can be downloaded. I would like to be able to monitor how many times it has been downloaded,
the result does not need to appear on the site, it is just for me personally. Has anyone got some
code in HTML or PHP which can achieve that? Thanks in advance. ....
Treating .csv Files As Database Data
Showing .CSV data on a web page (2) I use a nice program (which I helped to beta test) called ' Simfatic Forms ' to generate
forms on web pages. The only problem is that it does not (yet) support MySQL databases, it saves the
form data as a .CSV file. Now I was wondering if you can do the same with a .CSV file as you do
with a MySQL databse, ie. displaying the data in that file on a web page which adjusts automatically
as data are added to the file. To clarify: eg. if I make a form to sign a petition online, the data
are saved to a .CSV file every time someone fills in the form, is it now possibl....
Mysql + Php Question
(5) Hi, I am creating a website in php and using a mysql database to store the data. I want to store
time data in the database. My question is what is the best datatype I should use and how do I read
the time from the database and format(display) it using php ?....
Accessing Mysql From Javascript
Javascript to communicate with database (5) I found a nice program which allows you to put quizzes on your web site. You can design your own
questions, set the layout of your page, and there is also a possibility of having the results
emailed to you. It further offers a facility to store the results and all that, all you have to do
is put a link in the program, telling it which page takes care of that. However, when I look at the
HTML code the program generates, I see that most of it is written in Javascript. Obviously, it also
uses variable names, but as I don't know any Java, I was wondering if those variab....
Another Question On Mysql Table Data Type
text field for lots of text. (1) In my MySQL table I would like to use one text field which can contain lots of text. What I want to
use it for is for student records, and I want to be able to add to it without destroying what is
already there. I want the field to contain something like: ****03/11/2007**** Chopin prelude No 9:
small problem bars 12-15. Advice given on how to practice. ****10/11/2007**** Problem in Prelude
overcome, piece successfully completed. New piece set: Beethoven Sonata No 1, movement 1. etc. This
is of course just an example, but that is how I want to set up my student records....
Which Data Type To Use In Mysql Table
Using a 5 character number (4) If I wanted to use an ID field which automatically increments when data are addad, but displays the
ID as a 5 figure number, which data type would I have to use? I would want a type that assigns a
number to a record in the format "00001", "00002", etc. However, when I use "int" as datatype, it
only displays th field contents as "1", "2" etc. So, which data type could do the job for me? i do
not need a decimal point or anything, just an id that displays in 5 figures, including the leading
zeros. Thanks in advance.....
Where Am I Going Wrong This Time?
Can't enter data into database (4) Hi, on my local machine (with Apache 2.0, PHP 5.2.4 and MySQL 5.0) I come across weird things. I
have successfully made a table, but when I try to enter data into it it just will not accept the
empty string for the first field (id). This was the creation line: QUOTE $query="CREATE TABLE
members (id int(20) auto_increment,first varchar(15) NOT NULL,last varchar(15) NOT NULL,phone
varchar(20) NOT NULL,mobile varchar(20) NOT NULL,fax varchar(20) NOT NULL,email varchar(30) NOT
NULL,web varchar(30) NOT NULL,PRIMARY KEY (id),UNIQUE id (id),KEY id_2 (id))"; This has crea....
How To Use Html In Flash
I need to import html into an iframe like box (1) As of this post I am trying to convert my current html website to a flash site. I use iframes in my
html site and i am wondering if i can import html into a dynamic text box. I am wondering if i will
need to redo the entire design in flash or if I can just import the html. If anything is confusing,
please tell. Thanks in advance for the help /biggrin.gif" style="vertical-align:middle" emoid=":D"
border="0" alt="biggrin.gif" />....
Help With Database
(24) I know I might sound a bit novice, but I'd like to know how to make a register and login
database. I'm making a serious website for the very first time and I can't find on internet
how to make one (don't even know how it is named). I would really appreciate me if someone could
link me to a tutorial or give me the explanation, also the program to use (I think Microsoft Access
is good?)....
How Do I Import Video In Flash
(2) please i will like to know how to import video in flash. i use flash mx ....
Merging Database Php Mysql
(5) Hii i need help margning script. i have coppermine gallery, AzDGDating Site, Noah's
Classifieds they all have user sign-up login. but they have different like i need to have 3 seperate
account for each script is there any way like mergning one user name and password would work for 3
section. if you don't get my question please tell me i will try to explain more in detail
thank you for your time and help ....
Help Or Advise Needed For Access Database Webpage Conversions
I need some help with getting a linked webform so that the data can be (0) Hello All. I'm looking for some advise or assistance with getting a web page/access page
running so that i can have the page online and collect the data live into my database for Project
Management... Currently I'm developing a database using M$ Access, and need to have staff data
enter sales information directly into a web form that can be linked to a database? I've looked
at using a M$ Front page web form with data collected into a .CSV text file and extracting the data
but i need to be able to let the staff review and update the data for each file? A....
Resizing A Quicktime File ?
(6) Hi Guys, Any idea on how to change the height and width of an embeded quicktime file? CODE
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="520" height="293">
If I change the code: to: there is no apparent change. Any thoughts?....
How Do You Combine Multiple Mysql Databases Into One Database?
(3) How do you combine multiple mysql databases into one database? I was thinking thta soem servers
restrict you to one to five mysql databases. If I have a dynamic part of a table on my site, I
would use one database for that. For every table of dynamic information, I use one database. Can I
streamline what I am doing and combine all of my databases into one? I could make multipple tables
in the same database. Would that work? thanks....
Phpbb And Mysql Relations?
Need forum code for my website (2) Hi if someone could get back to me as fast as they can that would be great! i got a couple of
questions what do you use my sql for what does that have to do with forums? and secondally can
someone give me the php code for the forum thanks /biggrin.gif" style="vertical-align:middle"
emoid=":D" border="0" alt="biggrin.gif" />....
Syndicate Your Content Using Php And Mysql
(0) I just finished reading a php book, and figured out some interesting things, and wanted to share
them with the Trap17 community. I know lot of you make websites so this could help out. Enjoy
QUOTE Introduction So, you've spent the best part of a year creating your PHP/MySQL driven
web site. You've got a fair amount of decent, flexible content, and you're buddies with a
couple of other webmasters, so they've given you a free banner ad on their site in exchange for
one on yours. Promoting your site can be even harder than developing it. I've foun....
Looking To Host Music .mp3 File
how do i do this? (8) im looking to add music to my website. i have the music i want in a mp3 format. how do i upload it
or host it to the net . I tried uploading it on my server and when i use the url for it it just
gives me an option to download the file.. I need help anyone have a suggestion on what i need to do.....
I Need Help With Attaching A Keylogger 2 A File How Do I Do It?
help me plzzzzzzzzzz (4) can som1 help me attach a file 2 a keylogger plzzzzzzzz /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" /> /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" /> /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" /> /ph34r.gif" style="vertical-align:middle"
emoid=":ph34r:" border="0" alt="ph34r.gif" />....
Tips On Creating Your Own Search
PHP/MySQL Integrated search on your site (1) I'm not a professional web developer but I've learned a lot since I used Macromedia
Dreamweaver. The latest version 8 supports PHP 5. If you select PHP as your working language, you
can use this software to automatically add dynamic content to your website with MySQL as a
requisite. If you have a MySQL database containing records like a songs information database, then
you might probably not be able to add a good search page to your website which will search records
in the database. I faced the same problem, but now I'm able to create one sophisticated datab....
Php And Mysql Problem
Need a little help (8) hi.. i'm new in php and mysql... here is my problem.... $sql = "SELECT COUNT(*) FROM
messages WHERE _parent={$row }"; after sending the query above i dont know how to fetch the actual
rows counted.. i tried using the mysql_fetch_array() and mysql_fetch_row() function but it didnt
work... actually the only function i know that fetches results from sql queries is
mysql_fetch_array()... so what function or code i need to have the result from the query which uses
COUNT?....
Mysql Host Adress
how do i connect (4) helo! hou do you? i need somebody post the data for acces my mysql database from my client. thanks a
lot! also i need the alter code for add a foreign key to a column on a table, thanks a lot
/blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> Moved to the appropriate
section. Don't put questions in the tutorial section please. ....
File Upload From Url
(3) i need some help with a file upload script. i have it so i can upload files from my computer, but i
need one that can upload a file to my server from a url. does anybody know how to do this???....
What If You Forget Mysql Root Password
(2) If you have set a root password, but forgot what it was, you can set a new password with the
following procedure: 1. Take down the mysqld server by sending a kill (not kill-9) to the mysqld
server. The pid is stored in a `.pid' file, which is normally in the MySQL database directory:
shell> kill `cat /mysql-data-directory/hostname.pid` You must be either the Unix root user or the
same user mysqld runs as to do this. 2. Restart mysqld with the --skip-grant-tables option. 3. Set
a new password with the mysqladmin password command: shell> mysqladmin -u root password &....
Looking for import, excel, file, mysql, database
|
Searching Video's for import, excel, file, mysql, database
See Also,
|
advertisement
|
|