I've been pushing this a lot recently, but with a lot of these ideas ajax really is a great option. With the constant improvements of javascript frameworks it couldn't be easier. Example jQuery could be just this simple,
$("#id-of-iframe").load("the-php-file-to-load");
Thanks for the reply but I would still be referencing a php file to load. On my current PHP page I have a form where I can add entries to a database table. Below the form I have a list of all the entries in the table, I want just the entries in the iFrame not my entire page.
I could easily reference a new PHP file with the logic to produce the list but that would mean that for every page where I want to use the iFrame in this manner, I would have to create a seperate file with the actual list code for the iFrame to reference.
I really want to use the iFram like a wrapper or table tag. Is this possible?