Answer the question
In order to leave comments, you need to log in
Ajax search in php file on server without DB?
There is an ordinary made-up page, there is no Database.
It is necessary in the search bar that the user starts typing the name of the course and he is given a link to the course data, what is found!
For example, "English" and "English for adults", "English for children" already falls out.
On the server, there are just a list of links in some php document.
Answer the question
In order to leave comments, you need to log in
Take "some kind of PHP document", rip out "link - title" pairs from it.
Export this data to a json file.
In PHP, load this file and build a list from it.
At the front, you fasten autocomplete, using the same json file as a data source.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question