You are here: Re: [PHP] Displaying a html line as html « PHP « IT news, forums, messages
Re: [PHP] Displaying a html line as html

Posted by Todd Cary on 02/01/05 15:51

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

 

Navigation:

[Reply to this 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

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