hi i heard that ifram is not good for the site is that true ? and is there any thing eles to use it instead of ifram ? but it must do the same without puting the code of the file in the source of the page is that possible ?
Yes, but on some occassion it will just be fine. iframes are like another window, imagine in your webpage you have 2 or more tabs inside. technically, if each window / tabs connects to your database for example, so you will have 3 connections open. this is possible, its the ajax.
thanks for your help but what if i used it to open file in my server like http://www.7elm3aber.com look at the 2 blocks at left its work with ifram so whene i heard that its not good for sites i decided to replace it so how can i do the same with any thing eles ? i mean <iframe = ???? i tried fopen it works but the code from source file appear in the page soruce ifram didnt do this
You can't just "replace" it, but you can do a lot with php's include() function or AJAX. You do need to change your code though as you go from multiple pages in one to one page.