Page 1 of 1

file to mysql

Posted: Sun Aug 03, 2003 5:58 am
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/


__________________

Posted: Sun Aug 03, 2003 7:26 am
by twigletmac
Have you had a look at phpMyAdmin?

Mac

Posted: Sun Aug 03, 2003 7:35 am
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/