if($affectedRowsNumber > 0 ){ echo "Данные успешно добавлены: name=$username pass= $userpass status= user"; header("Location: setting_user.php");