开发者

Export pdf table data and import it into mysql

I want to export table data from pdf file and insert it into mysql database. How can I do it?

Regards, 开发者_高级运维Rekha


Start by converting the PDF into text. There's a program called pdf2text which you could download and use to do that (through exec for instance). Alternatively, there are several PHP classes which can convert the PDF into text like this one I found for you.

Once you have the text, you'll want to parse the text output and populate the data. You'll most likely want to look at regular expressions.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜