I would like to pass information from one page to the next using dynamic links. For example, when a person clicks
<a href ="glossary.php>A</a>
A will be saved into a variable and passed to glossary.php. Where the following Mysql query will be on glossary.php
letter_query = "SELECT * FROM Glossary WHERE Letter =$clickedletter;
letter_id = mysql_query($letter_query) or die(mysql_error);
$row = mysql_fetch_assoc($letter_id);
I have the following MySQL table:
Glossary (Glossaryid, Letter, Word, Definition, userid).
Here's an example of the information that would be stored: Glossaryid => 01, Letter => B, Word => Ball, Definition => A round thing people use to play with, but some get paid to play with it.
I have a page containing HTML with the links in alphabetical order, i.e A B C D E F G H I, etc. When a person clicks on a link I would like to display the all the words starting with clicked letter onto a page called glossary.php.