Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 1
    Try if(isset($_POST['submitBtn'])) and close your conditional } - you also need to echo $form; somewhere. Plus, Undefined index... what? - That's rather b-r-o-a-d. Commented Sep 26, 2014 at 16:14
  • Where are your firstname, lastname and username form inputs? Commented Sep 26, 2014 at 16:15
  • My form is rather long, I shortened it up a bit. they are present. Let me add the isset, didn't noticed that! Bit this was the solution already! After a few hours of coding, I just stared blind to all the code. Thanks a lot! Commented Sep 26, 2014 at 16:17
  • Want me to put that comment of mine as an answer? Tell me which part of it worked. Commented Sep 26, 2014 at 16:19
  • 1
    Well, answers are usually put in to close the question. Commented Sep 26, 2014 at 16:21