18-03-2010, 14:34
(Ten post był ostatnio modyfikowany: 18-03-2010, 14:36 przez bartoszka1996.)
(18-03-2010, 02:16)dziamber napisał(a): Robisz tak. Masz plik z headerem:Zrobilem tak jak napisales i index wyglada tak:
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");
?>
Kod:
<?php include('poczatek.php');?>
<?php
// twoj kod który określa tekst w title
$title = "TEST";
require_once("index.php");
?>
TRESC
<td style="height: 573px; width: 202px;"> </td>
</tr>
<?php include('koniec.php'); //?>
Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-2" http-equiv="content-type">
<title></title>
<meta content="Bartoszka1996" name="author">
</head>