title: Showing Popover in a Table element using Codeigniter
body: <p>Can anyone explain how to use popover on a table element using Codeigniter?</p>
  
  <pre><code>&lt;td&gt; &lt;span id="popover" data-toggle="popover" data-content="&lt;?php echo $userData[$i]-&gt;name; ?&gt;"&gt;&lt;/span&gt;&lt;?php echo custom_echo($userData[$i]-&gt;name,15); ?&gt;&lt;/td&gt;
  </code></pre>
  
  <p>And javascript code is</p>
  
  <pre><code>&lt;script&gt;
    $(document).ready(function() {
      $("#popover").popover({
        html: true,
        animation: false,
        placement: "bottom"
      });
    });
  &lt;/script&gt;
  </code></pre>