How do I pass a variable in URL using PHP?
<p>I have a variable called <code>$tags</code>, which just references from a database field. When the user clicks a link with the given <code>$tags</code> output in it, I want that data to be stored in a variable on the target page.</p>

<p>For instance, the user is on a <code>todolist.php</code>, 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 <code>$tags</code> data, so javascript on the <code>partslist.php</code> page knows what part to highlight. </p>

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

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