0

How to create search bar like Google or e-commerce websites which helps to autocorrect spelling from the users .

Sometimes bychance users enter wrong spelling but Google gives tight result . So how can I create using search bar using php and mysqli

21st Jul 2020, 4:31 AM
Soham Kawde
Soham Kawde - avatar
2 Answers
+ 1
Soham Kawde Answer to your first question. Yes you can create autocorrect function in your code. Well after knowing this. You should show your trial first then the sololearn community is there to help you. For learning how to make an search bar with autocorrect option. May this site help you most. https://medium.com/building-a-simple-text-correction-tool/building-a-simple-auto-correction-tool-97d77d458742 Hope this helps
21st Jul 2020, 4:39 AM
Piyush
Piyush - avatar
0
First i created two input field with type text and submit When user write something about what they want than Search bar input simply match the input data with database and show the result But if user spelling is wrong or user write more than one word where after the words are belong to different column than there is no result found. ### In short i want to create a search bar which fatch data from all the columns and even if one word is matched than result should be display on the website?
21st Jul 2020, 2:18 PM
Soham Kawde
Soham Kawde - avatar