variable in HREF not working correctly
The secure alternative would be to use l() to generate the link.
In your current code, it's very likely that you've created a security problem.

l('More', $fields['path']-&gt;content) would be better.

But in answer to your original question. you are missing echo statement here

&lt;a href="&lt;?php echo $link ?&gt;"&gt; more &lt;/a&gt;