When echo'ed out instead of just removing all of the other meta tags it seems to be duplicating the description, for example:
BBC has 13 different meta tags, when I echo out just the description in my script it is duplicating it 13 times.
<?php
//make the array
$TAarray = explode("
", strip_tags($_POST['TAData']));
foreach ($TAarray as $key => &$line) {
$line = trim($line);
// get the meta data for each url
$tags = get_meta_tags($line);
echo '<tr>';
foreach ($tags as $meta)
{
echo (isset($tags['description']))?"<br><br />
Description($line):<br>
".$tags['description']:"<br>
Description($line):<br>
No Meta Description.";
/*echo '<td>' . $meta . '</td>';*/
}
echo '</tr>';
}
?>
Here is the URL incase anyone wanted to see it working: http://php-playground.co.cc/testdir/metaex.php
PS
I know the checkboxes are not working they are only there for the layout