I have an error "Notice: Undefined index: submit in " , the line is this if($_POST[submit]) .I write it and with that way if($_POST[\'submit\'])