I have the following information stored in a session
I am then using this information to produce a list of products on a web page. This code is shown below:
What I would be able to do is to put the right information into the ????? section.
I want to show:
page.php?productkey=1&product=PR1
page.php?productkey=2&product=PR2
page.php?productkey=3&product=PR3
etc
I hope this is clear???????
Thanking in advance for any help received.
Code:
Array ( [counter] => 5 [product] => Array ( [1] => PR1 [2] => PR2 [3] => PR3 [4] => PR4 [5] => PR5 ) )
I am then using this information to produce a list of products on a web page. This code is shown below:
Code:
foreach ($_SESSION["product"] as $value)
{
echo $value;
?>
<a href="page.php?productkey=[COLOR=#ff0000]?????[/color]&product=<?php echo $value ?>" target="rightpane" onclick="window.open(this.href, this.target).focus(); return false;" style="width:150"><img src="images/remove.gif" border="0"></a>
<?php
}
?>
What I would be able to do is to put the right information into the ????? section.
I want to show:
page.php?productkey=1&product=PR1
page.php?productkey=2&product=PR2
page.php?productkey=3&product=PR3
etc
I hope this is clear???????
Thanking in advance for any help received.