I need a page on a website, where people can enter text and submit the data. Then the words in the submitted form are compared against words in a database, and each word is replaced with a corresponding value in the second column of the database, and this is sent back to another page, where the person can see the result.
It would be similar to having two columns in a database, one in english and one in latin. the word in english is in the first column, and its translation in latin is in the second column, in the corresponding row.
The script must be able to read the english words submitted in the form, and replace them with the corresponding latin words, and output this on another page on the website