The approximate optimal control problem via measurement feedback for input-affine nonlinear systems is considered in this paper. In particular, a systematic method is provided for constructing stabilising output feedbacks that approximate - with the optimality loss explicitly quantifiable - the solution of the optimal control problem by requiring only the solution of algebraic equations. In fact, the combination of a classical state estimate with an additional dynamic extension permits the construction of a dynamic control law, without involving the solution of any partial differential equation or inequality. Moreover, provided a given sufficient condition is satisfied, the dynamic control law is guaranteed to be (locally) stabilising. A nu...