i am trying to create a series of links on one page that pass a variable to the next page. i always get the last value of the variable from the first page passed to the second page. for instance, if these links were created on the first page...
$value=10;
<a href="/second_page.html?passed_variable=$value">link1</a>
$value=20;
<a href="/second_page.html?passed_variable=$value">link2</a>
...and debug on the second page like...
echo $passed_variable;
...i get the result 20 regardless of which link i click. how do i overcome this?
thanks in advance,
se4b4ss
$value=10;
<a href="/second_page.html?passed_variable=$value">link1</a>
$value=20;
<a href="/second_page.html?passed_variable=$value">link2</a>
...and debug on the second page like...
echo $passed_variable;
...i get the result 20 regardless of which link i click. how do i overcome this?
thanks in advance,
se4b4ss