hi martyn
you have assigned a string to your $query variable to perform the INSERT but you haven't actually sent the query to myql
after this statement in your code
$query="INSERT INTO commentTable (ID, FNAME, LNAME, PHON)
VALUES ('NULL','".$FName."','".$LName."','".PHON."')";
add...