Jump to content

Upload csv file directly to sql table through php script


travelkind

Recommended Posts

I have read about the php "file" upload where you can upload a file to a location on your server.  What I am trying to accomplish is to have the capability of uploading a csv (or excel if it makes it easier) from a web browser straight to a mysql database table.  I use phpmyadmin and realize you can upload this way but I would like to set up a php script that will do this in a web browser.  I read a little bit about the "fgetcsv" and "fopen".  Is this what I shoud be looking at or what?  Can someone give me some direction on this?  Again, thanks for your help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.