OK.  Here's some source.  Figure it out for yourself from there.  And do me
a favor, strip out the specific stuff and post it to phpbuilder, would ya?
Thank, John

--------------

/*******
external links list
*******/
//array for out of site links
//CASE SENSATIVE - upper case proceeds lower case 
$arr_outer_links = array(
                'Licking County Sheriff' => array(
                'url' => 'http://www.lickingcountysheriff.com' ,
                'desc' => 'A valuable law enforcement information site which
includes information ranging from Victim Advocate information to a listing
of Sexual Offenders in Licking County.'
                ),
                'The Newark Alliance' => array( 
                'url' => 'http://www.newarkalliance.com' ,
                'desc' => 'The Newark Alliance (formerly known as The Newark
Downtown Association) is dedicated to preserving the heritage of the past,
improving the quality of life in the present, and promoting and encouraging
the Downtown area as the Center of the Future.'
                ),
                'Licking County Area Transportation Study' => array( 
                'url' => 'http://www.lcats.org' ,
                'desc' => 'LCATS is the forum for cooperative transportation
decision-making by the principal elected officials of general purpose local
government in Licking County, Ohio. Members of LCATS include the City of
Newark, the City of Heath, and Licking County.
'
                )
                                
);


ksort ($arr_outer_links);  //unnecessary

while ( list($key, $val) = each($arr_outer_links) ) {
        echo "<li><A href=\"$val[url]\" target=\"new.Window\">$key</A> -
$val[desc]</li>\n<P>&nbsp;</P>\n";
}
















---------------------
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Nullum magnum ingenium sine mixtura dementiae fuit


> -----Original Message-----
> From: SIR d [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 08, 2001 10:23 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] php array
> 
> 
> 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]
> 

-- 
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