随机显示2个META标签

I want to Show meta tag like in a page like..

<meta property="og:title" content="Hi Admin, How are you" />
<meta property="og:image" content="http://example.com/hiadmin.jpg" />

and

<meta property="og:title" content="Hi User, How are you" />
<meta property="og:image" content="http://example.com/user.jpg" />

The Issue -

I want to Show meta tag randomly like..

Hi Admin, How are you (9 out of 10 times) Hi User, How are you (1 Out of 10 times)

how can i do this? totally confused :/

What you are looking for is something like:

<?php
if (rand(1, 10) == 1){
?>
<meta property="og:title" content="Hi User, How are you" />
<meta property="og:image" content="http://example.com/user.jpg" />
<?php
} else {?>
<meta property="og:title" content="Hi Admin, How are you" />
<meta property="og:image" content="http://example.com/hiadmin.jpg" />
<?php }?>