Reply to Re: [PHP] Displaying a html line as html

Your name:

Reply:


Posted by Jeffery Fernandez on 02/01/05 04:25

Todd Cary wrote:

> I have the following:
>
> $p = <a href="http://209.204.172.137/casesearch/php/home.php">Home</a>
>
> However, when I have
>
> print($p); or
> echo $p;
>
> the result page does not display as a link; just as the text above.
>
> What have I missed?
>
>
> Todd
>
try:
<?php
$p = '<a href="http://209.204.172.137/casesearch/php/home.php">Home</a>';
echo $p;
?>

cheers,
Jeffery
http://melbourne.ug.php.net

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация