Create reg.php

The php page for storing data into the database