<?php function addComment ($author, $date, $entry, $post_id) { $query = "INSERT INTO cr3do_databaseblog.commenttable id, author, date, entry, post_i
d VALUES NULL, $author, $date, $entry, $post_id"; return true; } ?>
nie dziala

<?php function addComment ($author, $date, $entry, $post_id) { $query = "INSERT INTO cr3do_databaseblog.commenttable id, author, date, entry, post_i
d VALUES NULL, $author, $date, $entry, $post_id"; return true; } ?>
<?php $query = "INSERT INTO cr3do_databaseblog.commenttable (id, author, date, entry, post_id) VALUES (NULL, '$author', '$date', '$entry', $post_id);"; ?>
<?php $query = "INSERT INTO cr3do_databaseblog.commenttable (id, author, date, entry, post_id) VALUES (NULL, '$author', '$date', '$entry', $post_id);"; ?>