Dynamic input fields in WordPress Plugin

For add and remove button functionality you have to use the jquery. Please see the code here => http://jsfiddle.net/lemonkazi/re8e2yov/

For save button you can use the form or ajax to save the data in option table.

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