Database Driven Website

Dear All,

I want to know how website will be made/languages used with following requirements :

I am roughly 1000 Page Static Website. Each page contains 1 main heading, sub heading, content and 2-3 photos per page

along with the main template of the website. I had made it by making 1000 static pages and its hectic to maintain. I want a

website which should be like this :

  1. I want to place all 1000 articles in txt OR doc OR rtf … OR any format… in 1 folder.
  2. 2000-3000 Photos in another folder. (2-3 Photos per page)
  3. Now when anyone clicks any of the thousand links in main template, a PHP code or any server side language code should

pick up an article from txt file and images from ‘photos folder’ and make a page which includes article ,images placed at

proper place.

Now how can i do it ? What languages will be involved ? How it will be made ? Kindly help me out !