title: Can I use dynamic content in a Bootstrap popover?
body: <p>I am using a Bootstrap Popover in a 'Repeat Region' which displays Testimonials. Each testimonials has a 'View Property Details' button which opens up the popover. In the Pop over I am wanting to display the image associated with each testimonial and details of the image. The image path is stored in a column in the database so to display the image for each testimonial I need to bind the image source to the content but it is not accepting PHP. I am using a script that allows me to write html into the content but the image needs to be created dynamically. Dynamic text works in the 'a' tag 'title' option but not for Content.</p>
  
  <p>Can anyone shed light on this?</p>
  
  <p>Here is what I have.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
   $(document).ready(function() {
    $("[rel=details]").popover({
    placement : 'bottom', //placement of the popover. also can use top, bottom, left or     right
    html: 'true', //needed to show html of course
    content : '&lt;div id="popOverBox"&gt;&lt;img src="&lt;?php echo $row_rsTstmnlResults['image']; ?&gt;"        width="251" height="201" /&gt;&lt;/div&gt;' //this is the content of the html box. add the image here or anything you want really.
  });
  });
  &lt;/script&gt;
      &lt;a href="#" rel="details" class="btn btn-small pull-right" data-toggle="popover"     title="&lt;?php echo $row_rsTstmnlResults['property_name']; ?&gt;" data-content=""&gt;View Property&lt;/a&gt;
  </code></pre>