What is the use of database in a website?
Suppose you have a static HTML web site for your business with posted information about the company, products or services, clients, and there is contact form.
If you have strong HTML skills you update your site without problems each time you need it. Otherwise you hire a webmaster or use maintenance services of a web design company. You write info in text document, send it to your webmaster, he manually inserts it to the site.
You store your products, clients, and contacts info in Word or Excel files.
Probably you store emails that you receive from contact form in Word or Excel files. Is it handful and easy? Is there an alternative?
In the database driven web site all information is stored in table format of databases on the server, script generates pages that are showed on the site as usual HTML ones.
Usually database driven web sites have admin panel with user-friendly interface where you can manage the site content, i.e. add, edit, or delete info by yourself, create new pages or delete old ones. You can update your site easily each time you need it.
Requests sent form contact form can be saved in database for further use, you can edit them, group, and sort.
You can create pictures gallery on your site and update it easily. You can have news box at your site and update it easily each time you need it.