Custom query_var to get URL paramater not working

The get_query_var() function and/or method only works with registered WordPress query_vars. You can actually view the method via get_query_var().

The normal URL parameters you can access with the normal PHP super global $_GET.

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