Come posso evitare che mi accada questo nel guestbook.

eventualmente se volete vedere di cosa si tratta andate qui

Codice:
Codice PHP:
$currentDate date("d.m.Y - H:i:s");
$ip $_SERVER['REMOTE_ADDR'];

if (isset(
$_POST['Submit']) && $_GET['action'] = "insert") {
mysql_select_db($database_name$conn) or die (mysql_error());
$query "INSERT INTO tb_guesbook (gb_callsign, gb_name, gb_linkName, gb_linkUrl, gb_dateTime, gb_object, gb_text, gb_email, gb_ip) VALUES (
                                                                                                '"
.$_POST['callsign']."',
                                                                                                '"
.$_POST['name']."',
                                                                                                '"
.$_POST['linkname']."',
                                                                                                '"
.$_POST['linkurl']."',
                                                                                                '"
.$_POST['dateTime']."',
                                                                                                '"
.$_POST['object']."',
                                                                                                '"
.$_POST['text']."',
                                                                                                '"
.$_POST['email']."',
                                                                                                '"
.$_POST['ip']."'
                                                                                                )"
;
mysql_query($query) or die (mysql_error());
$msg "Messaggio inserito con successo!
Message insert successfully!"
;
}
                                                                                                

?>