how can i make this code display $anchor with spaces. I would have Text Anchor1 and Text Anchor two insitead of TextAnchor1 and TextAnchor2. Thank you
$currentsite = get_bloginfo('wpurl');
$sites = array(
'TextAnchor1' => 'http://www.mysite1.com',
'TextAnchor2' => 'http://www.mysite2.com'
);
foreach($sites as $anchor => $site)
{
if ( $site !== $currentsite ){echo '<li><a href="'.$site.'" title="'.$anchor.'" target="_blank">'.$anchor.'</a></li>';}
}