Re: Displaying a html line as html

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

 



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);
\

...

--
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