Question: How can I add my meta tags from another file?
If I want to include the tags with the function "include\_once" it includes the meta tags into the body content.

Thanks for your replying!

Answer: 
could do this with `require_once()`. hope it helps.

meta.php

```
<?php

    $meta = "<meta charset=\"utf-8\">";

?>

```

index.php

```
<?php require_once('meta.php'); ?>
<!doctype html>
<html>
<head>
     <?php echo $meta; ?>
</head>
<body>

</body>
</html>

```
You should do like this.

**meta.php**

```
<meta charset="utf-8">

```

**index.php**

```
<!doctype html>
<html>
    <head>
        <?php include_once ('meta.php');?>
    </head>
    <body>

    </body>
</html>

```