the form.php file works but I cant get it to work in the register.php file.... want to save space and use the form file for other uses here is the code so far I thought it should work like this but I am still learning..