<?php
die("Pagina selectata nu exista!");
}
else {
echo "<center><h1>Hello on page one !</h1></center><br /><br />";
//Extragem din DB
$query1="SELECT * FROM comment WHERE commentid='1'";
$sql1=mysql_query($query1);
while ($row=mysql_fetch_row($sql1)) {
echo "<br />".$row[1]."<br />";
} }
?>
<br /><br /><b>Lasa si tu un comentariu !</b><br />
<form action="?" method="post">
Username: <input type="text" name="username"><br />
Comentariu: <textarea name="comment" rows="4" cols="30"></textarea><br />
<input type="submit" name="submit" value="Spune!" /><br />
<?php mysql_close($conexiune); ?>