no ok ora nn guardar che sto facendo prove...
cmq, se è tutto dentro lo stesso file va,
se uso include no. e da il solito errore
EDIT:
Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Untitled Document</title>
</head>
<?php
$data = "01-12-2008";
$titolo = "AAAAAAAAAAAAAAAAAAAAAAAAAAA";
$news = "aaaaaaaaaaaaaaaaaaaaaaa";
echo "$data"
?>
<body>
</body>
</html>
allora qui appunto mi stampa la data e nn ce nessun include.
questi invece nn vanno:
index:
Codice PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
<title>Untitled Document</title>
</head>
<?php
include ("novita.php")
echo "$data"
?>
<body>
</body>
</html>
e novita.php
Codice PHP:
<?php
$data = "01-12-2008";
$titolo = "AAAAAAAAAAAAAAAAAAAAAAAAAAA";
$news = "aaaaaaaaaaaaaaaaaaaaaaa";
?>