# Loading iframe content with php

**URL:** <https://forum.kirupa.com/t/loading-iframe-content-with-php/307250>\
**Category:** Uncategorized\
**Created:** [March 31, 2010, 10:20am UTC](https://forum.kirupa.com/t/loading-iframe-content-with-php/307250 "2010-03-31T10:20:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gboyes99](https://avatars.discourse-cdn.com/v4/letter/g/cdc98d/32.png) [@Gboyes99](https://forum.kirupa.com/u/Gboyes99)\
**Post date:** [March 31, 2010, 10:20am UTC](https://forum.kirupa.com/t/loading-iframe-content-with-php/307250/1 "2010-03-31T10:20:39Z")

</div>

Can anyone give me a hand in creating an iframe in php that uses a URL that I have stored in a mysql database. So that when I change page and have a different iframe it loads the correct URL for that page from the database?

How could I have it so that it knows which URL to load?
