I'm new in php and html scripting, so I would like to know if someone could give me an advice about how to set up my page structure.
I need to create a page with an header and a footer, a left-page menu and a main section where the contents of the site are displayed.
I thought about a frameset like this:
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Frameset//IT” “http://www.w3.org/TR/html4/frameset.dtd”>
<html>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1?>
<title>Framesets</title>
</head>
<frameset rows=”20%,70%,10%”>
<frame src=header.php>
<frameset cols=”20%,80%”>
<frame src=menu.php>
<frame src=main.php>
</frameset>
<frame src=footer.php>
</frameset>
<noframes></noframes>
</html>
When someone click on a link displayed on the menu.php section, only the main.php section will be called with different options (or I can call different php pages, one per choice), but I'm not sure this is the best solution, can anyone give me some advices?
(sorry for my english!)