I have a mysql table contain a glossary
which I would like to accesses from the webbrowser.

The table is simple, just two columns so could be handled
by an associatve array in php.

So I guess I need to get the data into javascript or some
other client-side code.

The table contains about 2000 rows and I want to use it so that
when the mouse hovers over a technical word, the glossary
explanation is shown in a window.

What route would you suggest ?