Can't find a tutorial on a php form where the user can login or register on the same page; the fields are username, password, confirm password, email. There will only be a registration button, and signin button; with a forgot password link. Any help is greatly appreciated.