In any case it's better to use second way with the template system, because templates get cached. So this text gets generated once every few minutes, depending on the cache lifetime and can be viewed by hundrets of users.
The first method would replace a small text into a huge text for every site request, thus increasing the server load unnecessarily.
Also, it's more clean to use the templates as they are intended.
|