How to create a search engine in php?

PHP code writing code for searching in MySQL and display information on the web page.

Answer 1, Authority 100%

come back once or twice.

Answer in detail what. It is unknown – information is structured or not, whether a full-text search is needed, whether the word form needs, whether the search for metadata is needed, etc. etc.

Answer 2

I can offer to use the LIKE operator in the query and search by template.
here info

Answer 3

No, MySQL for the search site does not fit. If resources allow, i.e. The site is on VPS / VDS, then you need to put Sphinx for example, it is created for quick search.