Mysql Update statement

Read web server data from remote database is Ok

But how to write xcode to update phpmyadmin database table field ( preset parameter in phop file and trigger it in chrome is successful.

Update database set status = ‘1’ Where parameter = ‘12’
It is my example to update the record by updating the status of parameter 12 to 1

maybe using alamofire will do the trick (if you already set up the server to receive it)