Hi all .i got a excel .csv file and i want to import it to mysql database but i do not know how to write a php script that does the job for me. I be happy if an expert show me how.Thanks
You may not need a PHP script to do this at all. If you can get the file to a place where MySQL can see it on a filesystem, then you can use a LOAD DATA INFILE query to dump the data in in one go. See
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.