tak wygląda mój forumluarz dodający komentarze:
<?php
mysql_connect("localhost", "user", "haslo");
mysql_select_db("db_jakas");
function add_coment($user, $town, $data, $time, $coment)
{
$query2 = "INSERT INTO coments (id, name, town, data, time, coments)VALUES (null, '".$user."'...