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

Your name:

Reply:


Posted by Jochem Maas on 02/01/05 21:04

Todd Cary wrote:
> Jochem -
>
> Sorry! The prior message was incorrect. Here it is corrected.

er ok, no probs. although you needn't have bothered sending the correction
as someone has already pointed out the mistake in the function, namely your
use of HTML entities instead of normal LT ang GT brackets.

.....if you want a link or any other tag to be recognized by the browser
you must use the literal chars i.e.:

<

and

>

if you wish to display these chars in your page (which is exactly what was happening)
then you should use:

&lt;

and

&gt;


---
hope that is clear.

>
> Here is the executing code:
>
> $page_string = make_page_string($page_string, "Search");
> $script_string = make_script_string($script_string, "search.php");
> print("Page_string: " . $page_string . "<br>");
> print("Script_string: " . $script_string . "<br>");
> print("Url: " . $url . "<br>");
> $page_path = make_page_path($page_string, $script_string, $url);
> print($page_path);
> \

....

[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

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