I use my own functions for this:
createLink($url, $desc, $hint = "") - returns <a href...> string ($hint is JavaScript hint for status bar - same as $url or $desc if not given when calling function)
outLink($url, $desc, $hint = "") {
echo createLink($url, $desc, $hint);
}
This is nice, because you can add additional fetures to createLink(). I.e. I often add "print=1" (for "printer friendly" pages):
function createLink(...) {
global $print;
if ($print && !ereg("print=1", $url)) $url .= "?print=1";
...
}
This is just a sketch. Real function is more complext (determines if it has to add "?" or "&" before "print=1", check some other variants, removes "print=1" from url, so that I have way of defining url without it,...)