Seach engines use key words to match user queries to relevant pages. Index them in databases and display the results. Here I give the basic php code to
extract key words from a string. Code great for those who want to create a Spider, Bot or Crawler, or Seach Engine. Also explain what key words are and stop words are.