title: what is master page using html-php
body: <p>I have been working on a website which is much similar to <a href="http://www.olx.in/" rel="nofollow">olx</a>. It will display ads depending upon the location of visitor (eg if i am from mumbai then it should display ads of mumbai only). I was following a traditional way but in this way I will have to create too many pages 
  (even if I consider major cities only). Then I got a suggestion to create a master page which will make task a lot easier.</p>
  
  <p>But I am yet to understand concept of master page in my case. While trying to understand I have been to few web pages like <a href="http://www.codeproject.com/Articles/114458/Master-Pages-using-HTML-and-JavaScript" rel="nofollow">Master Pages using HTML and JavaScript</a> . But it looks this concept is used to create consistent look and behavior.</p>
  
  <p>Can anyone tell me how I can implement it?</p>
  
  <p>Thanks !</p>