Re: [PHP] Help with a very small array problem

2001-02-27 Thread Chris Lee
$val) echo "{$but[$pos]} "; ?> or better. http://slashdot.org'; $link['adcritic'] = 'http://www.adcritic.com'; $link['php.net'] = 'http://www.php.net'; foreach($link as $pos => $val) echo "$pos "; ?> -- Chris Lee Mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250

[PHP] Help with a very small array problem

2001-02-27 Thread YoBro
Hello, I have a problem getting this to work right. I have two variables that store the name of a Link and the actual link. I am trying to display them on the page but it doesn't do it like i would have hoped. I want it to appear like this [Link1] [Link2] [Link3] "; foreach ($but a