I have this code, it s a wordpress MU code. The result is a string list of blogs subdomains, on a MU domain.
$blogs = get_last_updated();
echo 'Most active mommies:<ul>';
foreach ($blogs AS $blog) {
echo '<li>'.$blog['domain'].'</li>';
}
echo '</ul>';
I want that instead of the unclickable subdomains, to get a list of clickable subdomains. I want to make them links. I have tried even just to link all of them to the same page using <a href="test">echo '<li>'.$blog.'</li>';</a> or <a href="test"> '<li>'.$blog.'</li>'</a> etc, but it seems i can't. In fact, i have even tried just to input under that code a link like this <a href="Test">test</a>. Even insterting that gives an error.
Does someone know what is the solution? I have already lost 2 hours surfing the web for answers, it seems i am too stupid to find them.
Thank you
Stefan