$links = array(
'Altavista Search Engine' =>'http://www.altavista.com/',
'Google', =>'http://www.google.com/'
);

while (list($linkname, $url) = each($links))
{
  echo "<a href='$url' target='_blank'>$linkname</a><br>";
}

hope it helps,

"Sir D" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hi
> I'd like to build a multidimensional array that is loaded with Link_URLs
and
> LinkNames.  I wanna be able to output a list of links using the Link_Names
> and they should all be hyperlinks using Link_URLs as the reference.
>
> Can anyone help with some src..
> Thanx
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to