Re: Displaying a html line as html
| From: | Jeffery Fernandez | Date: | Tue, 01 Feb 2005 02:25:13 +0000 |
| Subject: | Re: Displaying a html line as html | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207817@lists.php.net to get a copy of this message | ||
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