cześc!
mam skrypt komentarzy bardzo prosty
<!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=utf-8" />
<title>Untitled Document</title>
<P STYLE="color: black; font-style: Calibri; font-size: 10pt"</P>
<?php
if (isset($_POST['submit'])) { if (isset($_POST['message'])) { if (isset($_COOKIE['dodano'])) { echo "Już dodałeś swoją propozycję! Spróbuj za chwilę.<br>"; } else {
$message = "<div style=\"; font-family: calibri; font-size:8pt;color: black;width: 463px; height: autopx; no-repeat center; \"><B>".$_POST['name']." </B>, proponuje:<BR>".$date."<P>".$message."</div><HR>";
}
}
}
?>
<style type="text/css">
<!--
.styl5 {
font-family: Arial, Helvetica, sans-serif;
color: white;
}
.styl10 {
color: black;
font-family: calibri;
}
.styl11 {
font-size: 14px;
color: black;
font-family: calibri;
}
.styl13 {font-size: 14px}
-->
</style>
</head>
<form action="" method=post>
<span class="styl5">
<span class="styl10">
<input type=hidden name=submit value=1>
<span class="styl13"> Imię i nazwisko:</span></span><br>
<input type=text name=name>
<br>
<span class="styl11">Treść wiadomości:</span><br>
<textarea name=message cols="50" rows="5"></textarea>
<br>
</span>
<center><input type="image" src="http://www.1belipie.yoyo.pl/radio/strona/obrazy/dodaj.png" alt="Wyślij komentarz" align="left" width="105" height="37">
<br></center>
</form>
</body>
</form>
</body>
Co zrobic zeby np. po dodaniu 5 komentarzy tworzyla mi sie strona i tak po koleji.
bede bardzo wdzieczny za pomoc!