So I have a modal part of my code which is this (from Twitter Boostrap)
<!-- Large modal -->
<button type="button" class="btn btn-primary" data-toggle="modal" data-target=".bs-example-modal-lg">Large modal</button>
<div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg">
<div class="modal-content">
PLACE CONTENT HERE
</div>
</div>
</div>
So in the PLACE CONTENT HERE part, that's where you place the content of your modal. So what I am trying to do and up until now I wasn't able to get it is that I want this modal to contain the content of a separate file that I made. With that separate file, the code is actually very long and I do not want to place it or replace it on the PLACE CONTENT HERE part or modal-content. How can I make this modal contain the contents of a separate file without copying the HTML/PHP code of the file inside this modal? For example. I have a modal.php file where it contains the modal code and when I click the modal button, I want to show the contents of the other file that I made for example, contents.php. Thank you.