How to add an tag when a menu item is a dropdown(or has a sub-menu) [duplicate]

I have found my answer in this topic: Adding a class (arrows) to main menu links that have children?

It’s pretty genius actually. Copies the original walker function to add your html when the wp is writing the sub-menu uls. Thanks awesome guy.

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