register_user($username,$password,$email)) { echo "registered"; }else { echo "didn't register"; } header('Location: /'); ?>