What is the meaning of ? (question mark) in a URL string?

Its name is query string. After the question mark you can pass key-value pairs and use them server-side.

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