Add leading zero to current post display [closed]

should work with sprintf('%02d', $post_query->current_post + 1)

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)