PHP: How to make the user stay on the same page if the required fields in the form aren't filled? -
If the form is not filled in the required fields, how can I create the user on the same page? Any answers would be greatly appreciated. & lt ;? Php header ('location: SOING.html'); $ Name = $ _POST ['name']; $ Nickname = $ _POST ['last_name']; $ Cons = $ _POST ['cons']; $ Password = $ _POST ['pass']; $ Email = $ _POST ['email']; $ Message = $ _POST ['message']; $ Recipient = "pixiedustmed@yahoo.com"; $ '=' Pixiedustmed@yahoo.com '; $ Theme = "contact message: $ name $ surname - $ email"; $ Headers = "to: $ name $ surname \ r \ n"; $ Headers = "Reply:" Strip_tag ($ _ POST ['email']) "\ r \ n"; $ Headers = "Cc: avedis@avedis.ga \ r \ n"; $ Headers = "MIME-Version: 1.0 \ r \ n"; $ Headers = "Content-type: text / html; charset = ISO-885 9-1 \ r \ n"; $ Message = '& lt; Html & gt; & Lt; Body & gt; '; $ ...