$txtName=$_POST['txtName']; $txtEmail=$_POST['txtEmail']; $txtNotes=$_POST['txtNotes']; $a="asd"; $result=mysql_query('INSERT INTO `mashov` (`id`, `txtName`, `txtEmail`, `txtNotes`) VALUES (NULL, \'sdf\', \'sdf\', $txtNotes);'); if (mysql_affected_rows()==1) { echo "תודה"; } }