When I call a function mainfunc() I want to put an explicit value near to the output of a function as a parameter of mainfunc(). I want to do someting like mainfunc('foo'.LaTeX());.
But, when I do that, I get the output of LaTeX() before “foo”, it exactly print me LaTeXfoo (the output of LaTeX() is LaTeX) and I got the same thing when I try to permute it like LaTeX() . foo.
So, this is the deffinition of the function LaTeX() :
function LaTeX()
{
?><span class="latex">L<spu>a</sup>T<sub>e</sub>X</span><?php
}
So, what can I do to make mainfunc exactly receive fooLaTeX by using LaTeX() function, please?