Re: php array

From: Date: Tue, 09 Oct 2001 09:05:07 +0000
Subject: Re: php array
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-9758@lists.php.net to get a copy of this message
$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" <kodude@hotmail.com> wrote in message news:20011009022537.98222.qmail@pb1.pair.com... > 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 > >

« previous php.windows (#9758) next »