Display frames using php

hello,

I have just designed a website using frames and was told that I should have used tables and php instead. I know very little about php and even less about how to use it to display frames. Can someone please point me to a good tutorial on how to do it or a pre-configured script that I can use instead.
I just have a simple navbar as my header and the contents page displayed in the frame below.

Thank you for your help.

I think what the person meant by “Use PHP” was to use PHP include statements. That way, you don’t have to duplicate static code.

Just put the page together using tables, and use the code:

<?php include "pagename.html"; ?>
To include the pages like you would with frames (the src of the frame).

Sponsor our Newsletter | Privacy Policy | Terms of Service