Display a pages Meta Tags

This uses the get_meta_tags function to display the meta tags of a given page .

<?php
$searchmeta = get_meta_tags(“index.htm”);
echo ($searchmeta[“description”]);
echo (“<br>”);
echo ($searchmeta[“keywords”]);
?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*