Skip to content

Commit a2f4a65

Browse files
DB upload
1 parent 3d70a4d commit a2f4a65

File tree

2 files changed

+43071
-0
lines changed

2 files changed

+43071
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ https://www.search-city-info.online/
1919

2020
## How to use
2121
1. **Using the search**
22+
2223
In this example, the JavaScript file sends a fetch request with the search text and the "action" variable to the core.php file, which calls the necessary function
2324
in the function.php file according to the value in "action". This allows you to put different functions in the function.php file and call them independently.
2425
In this case, 2 functions are used: search as you type and search for information about the city when you click on one of the cities found.
@@ -30,6 +31,7 @@ This way you can use any kind of php requests and have any JavaScript file struc
3031
+ Make sure you have keywords column in target table.(possible to search without keywords, but performance will be worse).
3132

3233
2. **Creating keywords**
34+
3335
In createKeywords.php you can find a function which slect a string from target column and divide it in single words which are separated by "+".
3436
There is an array with exception or service words, which can be used to exclude unwanted words from keywords column. How to use the function(an example):
3537
+ Open the createKeywords.php file and connect to the database by entering the hostname, login, password and database name.

0 commit comments

Comments
 (0)