It works in the sense that it displays the correct url but when I pass the
mouse over the link, the url that shows up in the browsers status bar doesn't
work becuase it has the http://server.com in front of the url. So lets say the
url I put in the content is http://www.yahoo.com and I use the code we are
talking about. When I click on the link it tries to send me to
http://server.com/news/http://www.yahoo.com - Maybe I need to use substr or
something.
--- Emile Heyns <[EMAIL PROTECTED]> wrote:
> Derek Beattie schreef:
> >
> > I've tried several things but I'm still not sure how to get the desired
> result.
>
> Doesn't
>
> <? if ($article->url) { ?>
> <p>Check out:<br><a href="&(article.url);">&(article.url);</a></p>
> <? } ?>
> <p align="right">
> <a href="/news/" class="navi">More news</a></p>
>
> work?
>
> emile
>
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
>
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]
>
>
=====
. \\|//
(O-O)
*--------------------------------------oOO--(_)--OOo-----*
* Sender: Derek Beattie *
* Personal: [EMAIL PROTECTED] *
* Business: [EMAIL PROTECTED] *
*--------------------------------------------------------*
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]