Hi there, i have a problem in php. i create a script. Using that i get links and show them. example: link1 (under this i have put relevant url, using normal href . All the link1 have a same href link) link2 (And i have an array it has unique corresponding values for each link) link1 has a unique value, 2 has a unique likewise now what i need is when i click link1 its corresponding value should be sent to that 2nd page. I have used session to make all variable global. Please help me Thank youuuuuuuuuuuuuuuu
is something what u want expecting <?php $arr=array( array("link"=>"http://somesite1.com/somepage1.php","value"=>1), array("link"=>"http://somesite2.com/somepage2.php","value"=>2), array("link"=>"http://somesite.com3/somepage3.php","value"=>3)); foreach($arr as $key=>$value) { echo("<a href='$value[link]?value=$value[value]'>$value[link]?value=$value[value]</a> <br/>"); } ?>