How to Create Registration Form in PHP and MySQL with Validation. The goal of this article is to teach you some basic HTML form elements and how their data is accessible to you in your PHP scripts. This method is used to convert specific HTML characters to their HTML entity names. The values are retrievable in PHP via the $_POST superglobal. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: