I want to get the content in the <title>...</title> of html label. I used the following code, but it doesn't work.
  <?php
$content = "<title>";
 preg_match_all("/<title>/",$content,$title);
echo $title[0][0];
 ?>
how to get the get the content in the <title>...</title> in php.