Click here to Skip to main content
13,001,686 members (62,701 online)
Click here to Skip to main content
Add your own
alternative version


11 bookmarked
Posted 2 Sep 2006

How to transfer text from HTML files to database

, 2 Sep 2006
Rate this:
Please Sign up or sign in to vote.
This is a simple article to show how to transfer data from html files into database


One day I was in bad need to transfer more than 6000 HTML file to be placed into Database but I just want to insert the text only not the HTML tags, so it's easy and very simple now with this file, all what you need is to specify the directory which has the HTML files and the code will loop on these files and open each file then it will take just the text from it and insert it into the database.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p>



This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Shady Khorshed
Web Developer
Egypt Egypt
This is Shady Mohamed Khorshed from Egypt,
I'm working as web Team Lead in LINKdotNET the largest ISP in egypt.
I'm working for link since march 2004 .

You may also be interested in...

Comments and Discussions

GeneralMy vote of 4 Pin
kaleemabuawad21-Jun-11 0:26
memberkaleemabuawad21-Jun-11 0:26 
GeneralMy vote of 1 Pin
DeckerDK6-Apr-09 5:27
memberDeckerDK6-Apr-09 5:27 
GeneralMy vote of 1 Pin
RichardGrimmer26-Feb-09 1:00
memberRichardGrimmer26-Feb-09 1:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170624.1 | Last Updated 2 Sep 2006
Article Copyright 2006 by Shady Khorshed
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid