salve a tutti
oggi non riesco a mettere uno "script" in php in una pagina html O.o
praticamente:
Codice PHP:
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" >
<title>Circolo dei 51 - Home Page</title>
</head>
<body link="#458ad7" alink="#458ad7" vlink="#458ad7">
<div id="body">
<div id="livello1">
<div id="tab">
<table border="0" cellpadding="0" cellspacing="0">
<td width="50"></td>
<td>
<ul>
<li class="item_active">[url="home_page.html"]<span>Home</span>[/url] [*][url="#"]<span>Chi Siamo?</span>[/url] [*][url="#"]<span>Attivita'</span>[/url] [*][url="#"]<span>Sondaggi</span>[/url] [*][url="#"]<span>WebMaster</span>[/url][/list]
</td>
</table>
<table align="center" border="0" width="1260" height="510" >
<td width="1400" height="500" style='background-image:url("images/sfondo3.png"); background-repeat: no-repeat;'>
<h1>
<big> News: </h1>
</big>
<?PHP
$var=fopen("news.txt","r");
$leggi=fread($var,filesize("news.txt"));
$sss=nl2br($leggi);
fclose($var);
echo $sss; ?>
</td>
</table>
</div>
</div>
</div>
non mi stampa &sss... Perchè????
grazie a tutti