Okay, now how to place the output on individual pages.
Would you split the the variable definitions (master page) then put the echo on each individual page?
Master page -- to define the link path depending on 'btn' url variable:
$if($_GET['btn']='a1')
$path='../a1page';
$elseif($_GET['btn']='a2')
$path='../a2page';
Master Page -- the gif is same for all a's, same for all b's, etc:
$aVals = array("a1","a2","a3","a4");
if (((isset($_GET['btn']))&&(in_array($_GET['btn'], $aVals)))
$button='../images/a.gif';
$bVals = array("b1","b2","b3","b4");
elseif (((isset($_GET['btn']))&&(in_array($_GET['btn'], $bVals)))
$button='../images/b.gif';
Then on Individual pages where being echoed:
<a href="<?php echo $path ?>"><img src="<?php echo $button ?>" width="126" height="21" border="0"></a>
Is there a better way (especially for conditioning gif's/array)?