title: How to Include PHP code in between HTML tags?
body: <p>currently I'm developing a application using Codeigniter framework and PHP. In there I need to include below mentioned PHP code in between HTML tags.
  Can anyone provide a solution or an guidance for this?</p>
  
  <pre><code>PHP code :
               if(isset($_SESSION['email'])) 
                  {  
                      echo '&lt;a href="http://localhost/ci/myads_view"&gt;';
                      echo 'MY ADS' ;
                      echo '&lt;/a&gt;';
                  }
  HTML code:
           &lt;nav class="main-navigation dd-menu toggle-menu" role="navigation"&gt;
               &lt;ul class="sf-menu"/&gt;
              &lt;/nav&gt;
  </code></pre>