Re: Displaying a html line as html
| From: | Todd Cary | Date: | Tue, 01 Feb 2005 13:51:52 +0000 |
| Subject: | Re: Displaying a html line as html | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207828@lists.php.net to get a copy of this message | ||
OK...I am close, but still missing something. The string returned by the function is $page_path and it contains
<a href="http://209.204.172.137/casesearch/php/search.php">Home</a>->
<a href="http://209.204.172.137/casesearch/php/search.php">Search</a>
And here is how the function is used:
$page_path = make_page_path($page_string, $fullscriptname);
print($page_path);
It is not printing the string as a link, and
print("'" . $page_path . "'");
just prints the literal string with apotrophies added. I tried
$page_path = "'" . make_page_path($page_string, $fullscriptname) . "'";
with the same results.
Todd
Justin French wrote:
On 01/02/2005, at 1:05 PM, Todd Cary wrote:I have the following: $p = <a href="http://209.204.172.137/casesearch/php/home.php">Home</a>try $p = '<a href="http://209.204.172.137/casesearch/php/home.php">Home</a>'; echo $p; --- Justin French, Indent.com.au justin.french@indent.com.au Web Application Development & Graphic Design