Get current post data into array?

You can simply call get_post(), it returns the current post if no ID is specified.

get_the_ID() actually does the same.

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