title: how to show a php page in a modal
body: <p>I was wondering if it is possible to catch a whole php page in a modal. 
  It is about this situation:
  I have now an anchor which leads me to the page like this:</p>
  
  <pre><code>&lt;a href="post.php?id=&lt;?php echo $article['articleId']; ?&gt;"&gt;&lt;?php echo $article['title']; ?&gt;&lt;/a&gt;
  </code></pre>
  
  <p>How can i put the whole content of, lets say, the page <code>post.php?id=1</code> in a modal like this:</p>
  
  <pre><code>&lt;button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal"&gt;Open Modal&lt;/button&gt;
  &lt;!-- Modal --&gt;
  &lt;div class="modal fade" id="myModal" role="dialog"&gt;
    &lt;div class="modal-dialog"&gt;
  
     &lt;!-- Modal content--&gt;
     &lt;div class="modal-content"&gt;
      &lt;div class="modal-header"&gt;
        &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
        &lt;h4 class="modal-title"&gt;Modal Header&lt;/h4&gt;
      &lt;/div&gt;
      &lt;div class="modal-body"&gt;
        &lt;p&gt;HERE SHOULD COME THE CONTENT OP THE PHP FILE&lt;/p&gt;
      &lt;/div&gt;
      &lt;div class="modal-footer"&gt;
        &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p>in <code>post.php</code>; these are the lines which parse the content:</p>
  
  <pre><code>&lt;h3&gt; &lt;?php echo $article['title']; ?&gt; &lt;/h3&gt;
  &lt;p class="content article-content"&gt; &lt;?php echo nl2br($article['content']); ?&gt; &lt;/p&gt;
  </code></pre>