Zastosowanie funkcji include...
Chodzi mi o zrobienie strony na której będzie nagłówek "nieruchomy" ( który będzie non stop wyświetlany u góry strony) a w dolnej części tabela będzie wyświetlana. Tyle ze jak przewijam stronę, to chowa mi się nagłówek. I nie wiem dlaczego tak się dzieje??
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Language" content="pl" /> <meta http-equiv="refresh" content="180"> <meta http-equiv="Creation-Date" content="Thu, 02 Jun 2011 06:56:53 GMT" /> <link rel="Stylesheet" type="text/css" href="styl.css" /> <title>title</title> </head> <body> <table bgcolor="white" border="1" width="100%" cellspacing="1" cellpadding="0" bordercolor="gray"> <tr> <th width="100%" height="80%" colspan="14" bgcolor="#DEB887" background=""> <p align=""><font size="3" face="Tahoma"> <a href="indekss.php?id=M_test">Odswież dane</a> </font></th> </tr> </table> <?php include('test.php'); @$id=$_GET['id']; include($id.'.php'); } else { include('M_test.php'); } ?> </body> </html>