how can i get the page_ID in nav li [closed]

Can you not see it? This:

esc_attr( $item>attr_title )

…should be:

esc_attr( $item->attr_title ) // See the hyphen?

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