Topic: Use {title} in different code

Hello! How can I use the text into {title} in different code.
For example, I need use various {title} in <HEAD> of my page.


news.php
<?php
include("news/show_news.php");
?>

Re: Use {title} in different code

Maksss wrote:

Hello! How can I use the text into {title} in different code.
For example, I need use various {title} in <HEAD> of my page.


news.php
<?php
include("news/show_news.php");
?>

Hey!

Do you mean putting a different code within a HTML document?
If so you simply wrap that piece of code with tags, eg.
<html> codeinhtml
            <php> codeinphp </php>
</html>