title: Show YouTube Videos in Bootstrap Modal from Dynamic Video List
body: <p>I am making an Application using Bootstrap 3, where there will be a dynamic list of Videos along with their TITLE and Description.
  The user will see a list of Videos coming from Database through PHP File like :
  <img src="https://i.stack.imgur.com/tKFra.png" alt="enter image description here"></p>
  
  <p>When the user will click on any one Video Link, 
  There will be a MODAL appearing, containing the specific Link and Video.
  The video will be through Youtube. I am using the Youtube iframe </p>
  
  <p><img src="https://i.stack.imgur.com/CJZ0O.png" alt="enter image description here"></p>
  
  <pre><code>&lt;iframe width="530" height="315" src="//www.youtube.com/embed/&lt;?php echo $link;?&gt;" frameborder="0" allowfullscreen&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>where <strong>$link</strong> should be replaced with the YouTube URL coming from Database.</p>
  
  <p>My data list is coming from database using following code :</p>
  
  <pre><code>&lt;div class="feed_text"&gt;
  
                      &lt;?php
                                        $get_data=mysql_query("SELECT * FROM data");
                                        while ($row=mysql_fetch_array($get_data))
                                      {  
                                        $title = $row[01];
                                        $content = $row[02];
                                        $link = $row[03];
                      ?&gt;
  
                      &lt;h3&gt; &lt;?php echo $title;?&gt; &lt;/h3&gt;                                             &lt;!-- Title Displayed here --&gt;
                      &lt;p&gt; &lt;?php echo $content;?&gt; &lt;/p&gt;                                         &lt;!-- Content Displayed here --&gt;
                      &lt;/div&gt;
  </code></pre>
  
  <p>However, when I click on the MODAL, I am getting the First link video ONLY even if I click on any link from the list. But I want appropriate videos.</p>
  
  <p>Any suggestions or help is appreciated.</p>