Get value from shortcode to do something

I think Shortcodes with Parameters is what you’re looking for.

https://developer.wordpress.org/plugins/shortcodes/shortcodes-with-parameters/

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