I have a MySQL database system and their is a table to store the abbreviation of some words.
HK Hong Kong
NY New York
I would like to replace the abbreviation with the orginal words when I input some sentences
I come from HK and I want to go to NY. --> I come from Hong Kong and I want to go to New York.
My idea is that:
1. First, people will fill in the discription of something using form.
2. Then, A php file will collect this discription and search if these paragraph contains the abbreviation in my database.
3. IF some words match, the abbreviation will be replaced with longer words in my database.
***What did the user fill in will be different every time.