{"action":"opened","issue":{"url":"https://api.github.com/repos/uptownhr/comments/issues/8","labels_url":"https://api.github.com/repos/uptownhr/comments/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/uptownhr/comments/issues/8/comments","events_url":"https://api.github.com/repos/uptownhr/comments/issues/8/events","html_url":"https://github.com/uptownhr/comments/issues/8","id":79062851,"number":8,"title":"create a UserRegistration.php","user":{"login":"uptownhr","id":1021110,"avatar_url":"https://avatars.githubusercontent.com/u/1021110?v=3","gravatar_id":"","url":"https://api.github.com/users/uptownhr","html_url":"https://github.com/uptownhr","followers_url":"https://api.github.com/users/uptownhr/followers","following_url":"https://api.github.com/users/uptownhr/following{/other_user}","gists_url":"https://api.github.com/users/uptownhr/gists{/gist_id}","starred_url":"https://api.github.com/users/uptownhr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uptownhr/subscriptions","organizations_url":"https://api.github.com/users/uptownhr/orgs","repos_url":"https://api.github.com/users/uptownhr/repos","events_url":"https://api.github.com/users/uptownhr/events{/privacy}","received_events_url":"https://api.github.com/users/uptownhr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T16:10:04Z","updated_at":"2015-05-21T16:10:04Z","closed_at":null,"body":"UserRegistration will handle registration of new users. The file will contain the HTML form for new user registration and the file will also handle the submission of the form to create the new user entry into the database. \r\n\r\nCreate an HTML form that accepts email and password to create a new user. On the form, the action should be going back to this same file and the method to submit the form should be \"POST\". IE, \r\n```\r\n<form action=\"UserRegistration.php\" method=\"POST\">\r\n...\r\n</form>\r\n```\r\n\r\nPHP, has a special global variable called, $_POST that you can use to see the parameters sent using the HTML form with the method \"POST\". PHP also has a helper function called 'print_r'. Using this method, you can see what has been exactly passed using the form.\r\n\r\nexample, will dump all the data assigned to $_POST\r\n` print_r($_POST)\r\n\r\n\r\nUse the $_POST variable to create the INSERT SQL statement. "}}