Re: Displaying a html line as html
| From: | Jochem Maas | Date: | Tue, 01 Feb 2005 19:04:00 +0000 |
| Subject: | Re: Displaying a html line as html | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207850@lists.php.net to get a copy of this message | ||
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: < and > --- 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); \