menios Posted December 1, 2007 Share Posted December 1, 2007 I have a main index.html page and as a display area an iframe. I ve managed to create the php files that connect with the database and retreive the desired result, now how can i connect with those pages and dispaly them in the iframe? Quote Link to comment Share on other sites More sharing options...
Fehnris Posted December 1, 2007 Share Posted December 1, 2007 Assuming that your PHP file out puts the results in some formatted way using HTML, simply add the PHP file name to the src attribute of your IFRAME tag:- <iframe src ="your PHP file that gets database records.php" width="100%"> </iframe> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.