|
There is a link called "Company" The user clicks on it, and it takes them to index.php?c=1
Then there is a link called "Month" The user clicks on it, and it takes them to index.php?c=1&m=2
Then there is a link called "Year" The user clicks on it, and it takes them to index.php?c=1&m=2&y=3
But then if the click a link, which makes "c=2" it keeps m=2, and y=3.
So that link would take them to index.php?c=2&m=2&y=3.
So instead of having the "Company" link being <a href="index.php?c=1">Company</a>
and "Year" link being <a href="index.php?c=1&m=2&y=3">Year</a>
They are in this form
(% being any character/number)
<a href="index.php?c=%&m=%&y=%">Company</a>
<a href="index.php?c=%&m=%&y=%">Month</a>
<a href="index.php?c=%&m=%&y=%">Year</a>
for example, if i had two links that one made c=1 and the other made c=2
and have one link for month, so that the C value could change without it being pre-set within the Href.
Thankyou
__________________
Websites Created;
warscope.com
ratepayers.org.nz
|