file to mysql

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
ibidris2003
Forum Newbie
Posts: 2
Joined: Sun Aug 03, 2003 5:58 am

file to mysql

Post by ibidris2003 »

Hi,

is there an easy way to upload file read it on the server with php and then insert the data into a mysql database. I can only control the db via php pages. Using tools is not an option. I think that it will look like this:
1 file uploadbox
1 textbox to specify table
1 textbox to specify columnnames as comma separated file.

The file will be tabdelimited file.

I am new to php -so please give me detailed info. Thanks for your help.

http://galileo.spaceports.com/~ibidris/


__________________
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Have you had a look at phpMyAdmin?

Mac
ibidris2003
Forum Newbie
Posts: 2
Joined: Sun Aug 03, 2003 5:58 am

Post by ibidris2003 »

twigletmac wrote:Have you had a look at phpMyAdmin?

Mac
Yes, I did. anyway I got the code mailed to me just minutes ago. Thanks for your help.

http://galileo.spaceports.com/~ibidris/
Post Reply