Hello i don't look for wordpress plugin or something. This is my php page.

```
<html>
<head>
blablablalba
<?php to_head(); ?>
</head>
<body>
bla bla bla
<?php 
if(isset($_GET['post_id'])) {
    $select=mysqli_query($con,"select....");
    while($data=mysqli_fetch_array($select)) {
         echo "bla bla bla";
         to_head("<title>asd</title><meta itemprop="name" content="Najnovije informacije iz sveta hostinga">...");
    } 
}
?>
bla bla bla
</body>
</html>

```

I need to set for each news post diffrent meta tags and put in head.. How can i do that?