How do i use frames in PHP ??? and how do i getthe smae links to show on the page with out inserting the links on all page's without frames.

    Eurgh frames....filthy things (pun intended)!!

    Yes you can do frames with PHP. You do it exactly the same as you would do it in HTML.

      I am with piersk on this one. I would not mess with frames. I am a rookie with PHP and programming but have several years experience with web site design as a hobby.

      Just create a basic template for all your pages and use include files to populate the redundent areas. You can have many include files within each page. I actually have 6-7 include files in my page template. Some of my include files are blank in case I want to add something later. You will be able to modify these include files independently of any of your other files and your entire site will see the changes.

      David

        Frames are a great thing for a site with a menu. You create a separate frame for the menu and just update the content frame. It saves bandwidth and page load times (especially if you have graphics in the menu), I find it annoying when I visit a page and the menu reloads with every page I visit. It'd be like not using functions and just retyping code that gets used continously throughout a program.

          firstly, frames are extremly unprofessial, also

          jerdo: its called server includes, in php, if you have a peice of data, you want to repeat in all your pages, you stick that html in a include file, and then, include that file, into each page

          simple. To put it bluntly, only use frames if you want your site to be added to this site

          http://www.ursux.com/

            Even with the include it forces your page to refresh on the client side which is annoying. I personally like framesets without the borders. But this discussion is pointless as it is completely opinion generated much like which free database solution is better MySQL or Postgres.

              Write a Reply...