Updated the staff register php page

I have updated the staff register php page with the comments on how the
code will run this makes it easier to code it now.