Populate select option with JSON file

Edit output form with
$form .= '<option value="" >' . $data['name'] . '</option>';

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