18-03-2010, 02:16
Robisz tak. Masz plik z headerem:
A w indexie robisz tak:
Kod:
<html>
<head>
<title><?php echo $title; ?></title>
</head>
Kod:
<?php
// twoj kod który określa tekst w title
$title = "ten twoj tekst";
require_once("twoj-plik.php");
?>
![[Obrazek: 2guxq1i.gif]](http://img713.imageshack.us/img713/1035/2guxq1i.gif)