Include Views output in href
You can try like this:

$block = module_invoke('views', 'block_view', 'profile3-block_4'); 
$url = render($block[content]);
Assume your Output will be &lt;div&gt;TITLE&lt;/div&gt;
then use **$url =  strip_tags($url);**
&lt;a href="http://my-site.com/page/".$url&gt;LINK TEXT&lt;/a&gt;
It will be better to use **l()**
l(t('Link text'), 'http://my-site.com/page/'.$url);


If you are still facing issue request you to provide block html output.