Jump to content

Converting And Saving Multiple Html Files To Databasr


Tufanayd

Recommended Posts

I have 305 html files and i want to save them into a mysql database. The values which I want to save are:

 

Filename

title

Meta description

Meta keywords

H1 in a div container

Html part in a div container

 

Is it something which i can do using PHP and jQuery ?

 

Thanks in advance.

What you need is a CMS system, from the sounds of things. You do not want to store the HTML pages wholesale in the database, but only their actual (diverging) content. Some of them might not even need to be stored in the database, but can probably be served as semi-permanent template files.

 

So, in short: You need to learn about CMS systems, and using a pre-existing one is WAY easier (and infinitely more secure) than writing your own.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.