Re: Displaying a html line as html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx
Web Application Development & Graphic Design

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux