Forum Moderators: coopster
function I found with correct text for title is named:
pathos_theme_showModule("navigationmodule","Breadcrumb")
I thought if I assigned it to a variable and then did strip_tags of variable string and echoed the results I would get the desired results but no such luck.
placing the function title() within the <title> tags still gives me the text wrapped in html tags for some reason
ie. - the title is shown in the browser as <a>accommodation</a > - <b>suburb</b> or something similar just the same as before I did the strip_tags.
function, obviously incorrect, is as follows:
function title()
{
$test = pathos_theme_showModule("navigationmodule","Breadcrumb");
echo strip_tags($test);
}
any help much appreciated. I seem to be doing something wrong in assigning the functions resulting string to a variable.
If I have a function that outputs a breadcrum trail including its html tags should I not be able to just assign that functions string output to a variable
ie
$var = breadcrumb_function();
//and then use
$title = strip_tags($var);
//to strip the html tags from the string
echo $title;
?