I have a variable called `$tags`, which just references from a database field. When the user clicks a link with the given `$tags` output in it, I want that data to be stored in a variable on the target page.

For instance, the user is on a `todolist.php`, that contains several tasks. They can see the parts associated with this task by clicking a link that goes to a partslist.php page. In the link, I need to contains the `$tags` data, so javascript on the `partslist.php` page knows what part to highlight. 

So I need to know **1)** how do I output `$tags` in the link of todolist.php, and **2)** how do I receive that output and store it on a variable on the partslist.php page? 

I have done similar POST and GET commands, but I can't quite figure this out.