escaped data of input with mysql_real_escape_string function
worked on the register.php
fixed some names in the register form in the index.php