Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

Question

How create search page using php for HTML sites

Sep 29, 2012 6:17PM PDT

I am creating one new site for reviews and downloads using sub domain on sbm blogger. I already create site using HTML-CSS offline.

But I have a problem to create search page formy site. Can anyone please tell me how to create search page for HTML site. I really need it.

Discussion is locked

- Collapse -
Answer
Re: search page
Sep 29, 2012 6:26PM PDT

The first thing to implement a search function is to put the full contents of your site in a database. Then write php to do searches in that database and return the results. That - for example - is how they find the books or music you search for with amazon or how we search for forum posts if you use the search box on top of a forum page.

Kees

- Collapse -
Answer
Alternatively
Oct 1, 2012 5:31AM PDT