PHP Search functionality , questions

Discussion in 'PHP' started by visualkreations, Jul 17, 2009.

  1. #1
    Hello,

    First of all im no programmer, so i apologize if these are stupid questions.

    I have a site all built in PHP, there is no database involved in the site.

    I have a search bar on all the pages, is it possible to make that search field search the entire site and display the search results in a search results page.

    Can this work or does there have to be a database involved.
     
    visualkreations, Jul 17, 2009 IP
  2. neegeris

    neegeris Banned

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes this is possible, you can do this with javascript if you need search in page what is opened, but if you need search in other pages where data is generated by php, you will need run each page, and put matching data in array what will show after all page checking, or you can show data without putting in array.. also you can use caching instead of database :)
     
    neegeris, Jul 17, 2009 IP