ora ho capito... sarò io che sono duro o te che ti spieghi tanto maleovviamente scherzo :P
beh un esempio approsimativo eccolo :
# pagina.html
Codice PHP:
<?php
if ( empty($_POST['submit']) )
{
?>
<form action="" method="post">
<textarea name="text"></textarea>
<input type="submit" value="Nuovo testo" name="submit">
</form>
<?php
} else {
$f=fopen('div.html', 'w');
fwrite($f, "<div>$_POST['text']</div>");
fclose($f);
}
?>