Re: How to print normally html code ?
- From: Raymond.Schmit@xxxxxxxxxxx (Raymond SCHMIT)
- Date: Wed, 14 May 2008 22:33:30 GMT
On Mon, 12 May 2008 16:44:23 -0700 (PDT), NC <nc@xxxxxxxxx> wrote:
On May 12, 4:18 pm, Raymond.Sch...@xxxxxxxxxxx (Raymond SCHMIT) wrote:
Is it possible to have this kind of coding ?:
if ($myhost=="www.fur4x-hebergement.net")
{
print until _THELABEL
free hosted at <a href="http://www.fur4x-hebergement.net/"
TARGET="_blank">Fur4x</a>";
._THELABEL
}
Yes. Read up on heredoc syntax:
http://us2.php.net/string#language.types.string.syntax.heredoc
Thanks for the link giving me the syntax.
But i am afraid that before the EOT; label we must use :
free hosted at <a href=\"http://www.fur4x-hebergement.net/\"
TARGET=\"_blank\"\>Fur4x</a\>
instead of :
free hosted at <a href="http://www.fur4x-hebergement.net/"
TARGET="_blank">Fur4x</a>
.
- Follow-Ups:
- Re: How to print normally html code ?
- From: Kim André Akerø
- Re: How to print normally html code ?
- References:
- How to print normally html code ?
- From: Raymond SCHMIT
- Re: How to print normally html code ?
- From: NC
- How to print normally html code ?
- Prev by Date: Re: Formatting output
- Next by Date: Re: How to print normally html code ?
- Previous by thread: Re: How to print normally html code ?
- Next by thread: Re: How to print normally html code ?
- Index(es):