Get Comment Author ID on the fly while posting

Ah! It was so simple 😛

Just using WP built in function

get_current_user_id( )

and all done. Thanks a lot.

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