'RSS title tag not displaying data

For some reason, the RSS < title > </ title > tag is not working in the code below. I want the $hdline there, but it just doesn't appear, while using < author> or < source> instead does.

      $hdline = $row['hdlinestr'];
      $link = $row['urlstr'] ;
      $category = $row['category'] ;
      
     // echo $hdline ;
      
        echo "<item>" ;
        echo "<title>Title</title>" ;
        echo "<source>" . $hdline . "</source>" ;
        echo "<link>" . $link. "</link>" ;
        echo "<category>&nbsp;<b>" .$category . "</b><br></category>";
        echo "</item>";

Here is output. sample RSS code

rss


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source