[eluser]Isern Palaus[/eluser]
Hello Sayian,
There is nothing wrong because it works, the other things is if ethic with the basic Model-View-Controller which pretends to "separate" the logic from consults and showing... which I can't say I've no idea at all. It's not recommended to code logic on the view, but this will return you a string (or similar).
It wouldn't generate a error.
Regards,
Isern