Hi,
I want to create the following:
When a hyperlinked word in an HTML page is clicked, show a pop-up browser window with a definition of the word.
I can get the name of the word by using something like ".../define_word.php?word=grok" in the href for the link (where grok is the word to define). From there, I can retrieve the definition from my data source.
I know I can use Javascript to show another browser window.
But the Javascript wants a filename (URL), and I am generating the HTML dynamically in PHP...?
Can any of you PHP gurus enlighten this newbie about how this should be done?
Thanks.