I want to be able to
a) Paste text into a web-based text box.
b) Post this text to a script which will look for certain key words against a 'pronounciation list' (sql) - eg. "trough" corresponds to "troff"
c) Where words are found in the list, the text of the resulting web page should be altered from "cows feed from a trough of straw" to "cows feed from a trough (troff) of straw " where the correct pronounciation is in brackets coloured red.
In other words... when a word in the text is discovered in the lookup table its pronounciation should be added in red. Thge script should cope with changing the pronounciation of several words.
d) A simple edit tool to add words (and their pronounciation) to the sql database (and to delete them)
That's it! Thank you.