How do I pass a variable in URL using PHP?

genius31

New Member
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.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. So I need to know 1) how do I output \[code\]$tags\[/code\] 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.
 
Back
Top