Using AJAX for dynamic settings pages

I found a solution without ajax. I just put all the data to a json-file and used a jquery-client-solution as described here: http://css-tricks.com/dynamic-dropdowns/ .

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