开发者

How can I split file into several parts using javascript, and insert these details into a Mysql db on an external server?

I have a file which contains some sort of database, it's written like this :

name = blah blah num = xxx xxxxxxxx addrs = xx , blah blah name = blah blah num = " xxx xxxxxxxx addrs = xx , blah blah ..... ans do on.......

The file's extension doesn't matter (actually I created it)

Its a local file, so i want to insert these values into my website's DB ... and it should be in开发者_运维技巧serted like this :

blah blah xx,blah blah xxx xxxxxxxx blah blah xx,blah blah xxx xxxxxxxx

what should I use , is it Javascript/php ?


The easiest way would be to have the file uploaded, and then let your server handle the importing using PHP.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜