Creating new option (add_option) from AJAX – Settings API

I ended up solving this by using a hidden form field and updating the value to the hidden field via JQuery – this data was then posted to the server when the from was posted (via method=”POST”).

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