{"id":23351,"date":"2019-06-24T11:41:43","date_gmt":"2019-06-24T04:41:43","guid":{"rendered":"http:\/\/tom.ji42.com\/?p=23351"},"modified":"2020-11-09T07:25:18","modified_gmt":"2020-11-09T00:25:18","slug":"android-update-%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%81%e0%b8%81%e0%b9%89%e0%b9%84%e0%b8%82%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%a1%e0%b8%b9%e0%b8%a5%e0%b8%9a%e0%b8%99-mysql","status":"publish","type":"post","link":"https:\/\/tom.tomwork.net\/?p=23351","title":{"rendered":"ANDROID: (UPDATE) \u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e19 MYSQL"},"content":{"rendered":"<p>\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\u0e04\u0e23\u0e31\u0e1a\u0e2b\u0e32\u0e22\u0e44\u0e1b\u0e19\u0e32\u0e19 \u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e1c\u0e21\u0e21\u0e32\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e15\u0e48\u0e2d\u0e08\u0e32\u0e01\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e43\u0e19\u0e01\u0e25\u0e38\u0e48\u0e21\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e19 Mysql (\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 Insert) \u0e0b\u0e36\u0e49\u0e07\u0e1c\u0e21\u0e41\u0e1a\u0e48\u0e07\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32\u0e21\u0e32\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e17\u0e35\u0e25\u0e30\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32\u0e08\u0e30\u0e44\u0e14\u0e49\u0e44\u0e21\u0e48\u0e40\u0e22\u0e2d\u0e30\u0e08\u0e19\u0e40\u0e01\u0e34\u0e19\u0e44\u0e1b \u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e35\u0e49\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25(Update) \u0e43\u0e19\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e14\u0e39\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e0b\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p>\u2013\u00a0\u00a0<a href=\"http:\/\/octoboygeek.com\/?p=381\" target=\"_blank\" rel=\"noopener noreferrer\">\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e1a\u0e19\u0e40\u0e0b\u0e34\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c<\/a><\/p>\n<p>\u2013 \u00a0<a href=\"http:\/\/octoboygeek.com\/?p=447\" target=\"_blank\" rel=\"noopener noreferrer\">(Insert) \u0e01\u0e32\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e19 Mysql<\/a><\/p>\n<p>!! \u0e04\u0e27\u0e23\u0e22\u0e49\u0e2d\u0e19\u0e44\u0e1b\u0e2d\u0e48\u0e32\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21 \u201c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e1a\u0e19\u0e40\u0e0b\u0e34\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u201d\u00a0\u0e01\u0e48\u0e2d\u0e19\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p><!--more--><\/p>\n<h2>\u0e42\u0e04\u0e49\u0e14\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07<\/h2>\n<p>\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14\u0e42\u0e1b\u0e23\u0e40\u0e08\u0e47\u0e04\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e14\u0e49\u0e17\u0e35\u0e48 -&gt;\u00a0<a href=\"http:\/\/octoboygeek.com\/examplecode\/MysqlExample(Update).rar\">MysqlExample(Update)<\/a><\/p>\n<p>!! \u0e43\u0e0a\u0e49\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e0a\u0e38\u0e14\u0e40\u0e14\u0e34\u0e21\u0e08\u0e32\u0e01\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u00a0<a href=\"http:\/\/octoboygeek.com\/?p=381\" target=\"_blank\" rel=\"noopener noreferrer\">\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e1a\u0e19\u0e40\u0e0b\u0e34\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c<\/a><br \/>\n<span id=\"more-483\"><\/span><\/p>\n<p>&nbsp;<\/p>\n<h2>\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/h2>\n<p>\u0e01\u0e48\u0e2d\u0e19\u0e08\u0e30\u0e40\u0e02\u0e49\u0e32\u0e40\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e40\u0e15\u0e37\u0e2d\u0e19\u0e04\u0e27\u0e32\u0e21\u0e08\u0e33\u0e01\u0e31\u0e19\u0e0b\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22\u0e19\u0e30 \u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27\u0e46\u0e21\u0e32\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a\u00a0\u0e43\u0e19\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e21\u0e35 1 \u0e15\u0e32\u0e23\u0e32\u0e07\u0e0a\u0e37\u0e48\u0e2d\u0e27\u0e48\u0e32 member \u0e42\u0e14\u0e22\u0e21\u0e35\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e02\u0e2d\u0e07\u0e15\u0e32\u0e23\u0e32\u0e07\u0e15\u0e32\u0e21\u0e17\u0e35\u0e48\u0e41\u0e2a\u0e14\u0e07\u0e43\u0e19 \u0e23\u0e39\u0e1b\u0e17\u0e35\u0e48 1 \u0e41\u0e25\u0e30 \u0e21\u0e35\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e43\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07\u0e15\u0e32\u0e21 \u0e23\u0e39\u0e1b\u0e17\u0e35\u0e48 2<\/p>\n<p><a href=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-220418.png\" rel=\"lightbox[483]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-410 aligncenter\" src=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-220418.png\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" srcset=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-220418.png 575w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-220418-300x52.png 300w\" alt=\"Screenshot from 2014-12-18 22:04:18\" width=\"575\" height=\"101\" \/><\/a>\u0e23\u0e39\u0e1b\u0e17\u0e35\u0e48 1 \u0e41\u0e2a\u0e14\u0e07\u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e15\u0e32\u0e23\u0e32\u0e07 member<\/p>\n<p><a href=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-221253.png\" rel=\"lightbox[483]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-411 aligncenter\" src=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-221253.png\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" srcset=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-221253.png 331w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2014\/12\/Screenshot-from-2014-12-18-221253-300x73.png 300w\" alt=\"Screenshot from 2014-12-18 22:12:53\" width=\"331\" height=\"81\" \/><\/a><\/p>\n<p>\u0e23\u0e39\u0e1b\u0e17\u0e35\u0e48 2 \u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07 member<\/p>\n<p>&nbsp;<\/p>\n<h2>\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e42\u0e04\u0e49\u0e14\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07<\/h2>\n<h2>UPDATE\u00a0(\u0e41\u0e01\u0e49\u0e44\u0e02\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25)<\/h2>\n<h3>UPDATE_DATA.PHP<\/h3>\n<p>\u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e04\u0e48\u0e32 id , username \u0e41\u0e25\u0e30 pass \u0e1c\u0e48\u0e32\u0e19 http post (\u0e41\u0e2d\u0e19\u0e14\u0e2d\u0e23\u0e4c\u0e22\u0e2a\u0e48\u0e07\u0e21\u0e32) \u0e41\u0e25\u0e30\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e41\u0e01\u0e49\u0e44\u0e02\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e15\u0e32\u0e23\u0e32\u0e07 member \u0e43\u0e19\u0e41\u0e16\u0e27\u0e15\u0e32\u0e21\u0e17\u0e35\u0e40\u0e23\u0e32\u0e01\u0e33\u0e2b\u0e19\u0e14 id \u0e44\u0e27\u0e49<\/p>\n<p>!! \u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19\u0e40\u0e0b\u0e34\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u0e2b\u0e23\u0e37\u0e2d localhost<\/p>\n<p>!! \u0e43\u0e19\u0e44\u0e1f\u0e25\u0e4c\u0e19\u0e35\u0e49\u0e1c\u0e39\u0e49\u0e2d\u0e48\u0e32\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 \u0e23\u0e32\u0e22\u0e25\u0e30\u0e40\u0e2d\u0e35\u0e22\u0e14\u0e43\u0e19\u0e01\u0e32\u0e23\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e1b\u0e47\u0e19\u0e02\u0e2d\u0e07\u0e15\u0e31\u0e27\u0e40\u0e2d\u0e07\u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e17\u0e35\u0e48\u0e1c\u0e21\u0e44\u0e2e\u0e44\u0e25\u0e17\u0e4c\u0e2a\u0e35\u0e41\u0e14\u0e07\u0e44\u0e27\u0e49<\/p>\n<pre><code> &lt;?php   \r\n header(\"content-type:text\/javascript;charset=utf-8\");    \r\n $con=mysql_connect('mysql_server','mysql_username','mysql_pass')or die(mysql_error());    \r\n mysql_select_db('db_name')or die(mysql_error());    \r\n mysql_query(\"SET NAMES UTF8\");   \r\n $id = $_POST['id'];  \r\n $username = $_POST['username'];  \r\n $pass = $_POST['pass'];  \r\n $sql=\"UPDATE member SET username = '$username', pass = '$pass' WHERE id = '$id'\";   \r\n $res=mysql_query($sql);    \r\n mysql_close();   \r\n ?&gt;   \r\n<\/code><\/pre>\n<h3>MAINACTIVITY.JAVA<\/h3>\n<p>\u0e43\u0e19 class MainActivity \u00a0\u0e1c\u0e21\u0e44\u0e14\u0e49\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 onItemClick() \u0e44\u0e27\u0e49\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e40\u0e27\u0e25\u0e32\u0e01\u0e14\u0e40\u0e25\u0e37\u0e2d\u0e01Item \u0e43\u0e19 ListView \u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e40\u0e23\u0e35\u0e22\u0e01 Intent \u0e44\u0e1b\u0e22\u0e31\u0e07 Update_Activity \u0e42\u0e14\u0e22\u0e08\u0e30\u0e2a\u0e48\u0e07\u0e1e\u0e32\u0e23\u0e32\u0e21\u0e34\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e44\u0e1b\u0e14\u0e49\u0e27\u0e22\u0e0a\u0e37\u0e48\u0e2d\u0e27\u0e48\u0e32 id (\u0e40\u0e21\u0e37\u0e2d\u0e44\u0e1b\u0e16\u0e36\u0e07 Update_Activity \u0e08\u0e30\u0e44\u0e14\u0e49\u0e23\u0e39\u0e49\u0e27\u0e48\u0e32\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23\u0e40\u0e25\u0e37\u0e2d\u0e01\u0e2d\u0e30\u0e44\u0e23\u0e21\u0e32)<\/p>\n<pre><code>   @Override  \r\n   public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {  \r\n     Intent intent = new Intent(this,Update_Activity.class);  \r\n     intent.putExtra(\"id\",position+1+\"\");  \r\n     startActivity(intent);  \r\n   }  \r\n<\/code><\/pre>\n<h3>UPDATE_ACTIVITY.JAVA<\/h3>\n<p>Class Update_Activity \u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e41\u0e23\u0e01\u0e19\u0e31\u0e49\u0e19\u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e23\u0e31\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e17\u0e35\u0e48 Intent \u0e21\u0e32\u0e42\u0e14\u0e22\u0e08\u0e30\u0e40\u0e01\u0e47\u0e1a parameter \u0e17\u0e35\u0e48\u0e0a\u0e37\u0e48\u0e2d id \u0e44\u0e27\u0e49<\/p>\n<pre><code>     Bundle extra = getIntent().getExtras();  \r\n     id = extra.getString(\"id\",\"1\");  \r\n<\/code><\/pre>\n<p>\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e40\u0e23\u0e32\u0e01\u0e23\u0e2d\u0e01\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e43\u0e19\u0e1f\u0e2d\u0e23\u0e4c\u0e21\u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e30\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 Update \u0e01\u0e47\u0e08\u0e30\u0e40\u0e23\u0e35\u0e22\u0e01\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e49\u0e19 onClick() \u0e17\u0e33\u0e07\u0e32\u0e19\u0e42\u0e14\u0e22\u0e08\u0e30\u0e40\u0e23\u0e35\u0e22\u0e01\u0e43\u0e0a\u0e49\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 updateUser() \u0e02\u0e2d\u0e07 Class MysqlConnector \u0e43\u0e19\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e42\u0e14\u0e22\u0e21\u0e35\u0e1e\u0e32\u0e23\u0e32\u0e21\u0e34\u0e40\u0e15\u0e2d\u0e23\u0e4c 3 \u0e15\u0e31\u0e27\u0e44\u0e14\u0e49\u0e41\u0e01\u0e48 id,username \u0e41\u0e25\u0e30 pass<\/p>\n<pre><code>       case R.id.btn_Update:  \r\n         MysqlConnector.updateUser(id,edt_username.getText().toString(),edt_pass.getText().toString());  \r\n         this.finish();  \r\n         break;  \r\n<\/code><\/pre>\n<h3>MYSQLCONNECTOR.JAVA<\/h3>\n<p>\u0e43\u0e19 Class MysqlConnector \u0e1c\u0e21\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e41\u0e04\u0e48\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 updateUser() \u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u0e42\u0e14\u0e22\u0e2a\u0e48\u0e27\u0e19\u0e41\u0e23\u0e01\u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21\u0e1e\u0e32\u0e23\u0e32\u0e21\u0e34\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e2a\u0e48\u0e07\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e40\u0e0b\u0e34\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e42\u0e14\u0e22\u0e21\u0e35\u0e1e\u0e32\u0e23\u0e32\u0e21\u0e34\u0e40\u0e15\u0e2d\u0e23\u0e4c id,username \u0e41\u0e25\u0e30 pass<\/p>\n<pre><code>       ArrayList&lt;NameValuePair&gt; nameValuePairs = new ArrayList&lt;NameValuePair&gt;();  \r\n       nameValuePairs.add(new BasicNameValuePair(\"id\",id));  \r\n       nameValuePairs.add(new BasicNameValuePair(\"username\",username));  \r\n       nameValuePairs.add(new BasicNameValuePair(\"pass\",pass));  \r\n<\/code><\/pre>\n<p>\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e17\u0e33\u0e01\u0e32\u0e23\u0e2a\u0e48\u0e07 Http post \u0e44\u0e1b\u0e22\u0e31\u0e07 update_data.php<\/p>\n<pre><code>       HttpClient httpclient = new DefaultHttpClient();  \r\n       HttpPost httppost = new HttpPost(\"your_url\/update_data.php\"); \/\/   \r\n       httppost.setEntity(new UrlEncodedFormEntity(nameValuePairs,\"UTF-8\"));  \r\n       HttpResponse response = httpclient.execute(httppost);  \r\n       HttpEntity entity = response.getEntity();  \r\n       is = entity.getContent();  \r\n<\/code><\/pre>\n<p>\u0e04\u0e23\u0e31\u0e1a\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e01\u0e32\u0e23 Update \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e19\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e01\u0e47\u0e08\u0e1a\u0e25\u0e07\u0e41\u0e15\u0e48\u0e40\u0e1e\u0e35\u0e22\u0e07\u0e40\u0e17\u0e48\u0e32\u0e19\u0e35\u0e49\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23 Delete \u0e2b\u0e23\u0e37\u0e2d\u0e25\u0e1a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e01\u0e47\u0e44\u0e21\u0e48\u0e22\u0e32\u0e01\u0e44\u0e1b\u0e01\u0e27\u0e48\u0e32\u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a<\/p>\n<h2>\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07<\/h2>\n<h2><a href=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/01\/Screenshot_2015-01-31-00-41-26.jpg\" rel=\"lightbox[483]\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-473 size-medium alignnone\" src=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/01\/Screenshot_2015-01-31-00-41-26-169x300.jpg\" sizes=\"auto, (max-width: 169px) 100vw, 169px\" srcset=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/01\/Screenshot_2015-01-31-00-41-26-169x300.jpg 169w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/01\/Screenshot_2015-01-31-00-41-26-576x1024.jpg 576w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/01\/Screenshot_2015-01-31-00-41-26-562x999.jpg 562w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/01\/Screenshot_2015-01-31-00-41-26.jpg 720w\" alt=\"Screenshot_2015-01-31-00-41-26\" width=\"169\" height=\"300\" \/><\/a><a href=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-06.jpg\" rel=\"lightbox[483]\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-495 alignnone\" src=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-06-169x300.jpg\" sizes=\"auto, (max-width: 169px) 100vw, 169px\" srcset=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-06-169x300.jpg 169w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-06-576x1024.jpg 576w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-06-562x999.jpg 562w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-06.jpg 720w\" alt=\"Screenshot_2015-02-21-21-51-06\" width=\"169\" height=\"300\" \/><\/a><a href=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-11.jpg\" rel=\"lightbox[483]\"><img loading=\"lazy\" decoding=\"async\" class=\" size-medium wp-image-496 alignnone\" src=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-11-169x300.jpg\" sizes=\"auto, (max-width: 169px) 100vw, 169px\" srcset=\"http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-11-169x300.jpg 169w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-11-576x1024.jpg 576w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-11-562x999.jpg 562w, http:\/\/octoboygeek.com\/wp-content\/uploads\/2015\/02\/Screenshot_2015-02-21-21-51-11.jpg 720w\" alt=\"Screenshot_2015-02-21-21-51-11\" width=\"169\" height=\"300\" \/><\/a><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\u0e04\u0e23\u0e31\u0e1a\u0e2b\u0e32\u0e22\u0e44\u0e1b\u0e19\u0e32\u0e19 \u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e1c\u0e21\u0e21\u0e32\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e15\u0e48\u0e2d\u0e08\u0e32\u0e01\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e43\u0e19\u0e01\u0e25\u0e38\u0e48\u0e21\u0e01\u0e32\u0e23\u0e08\u0e31\u0e14\u0e01\u0e32\u0e23\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e19 Mysql (\u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 Insert) \u0e0b\u0e36\u0e49\u0e07\u0e1c\u0e21\u0e41\u0e1a\u0e48\u0e07\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32\u0e21\u0e32\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e17\u0e35\u0e25\u0e30\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22\u0e40\u0e19\u0e37\u0e49\u0e2d\u0e2b\u0e32\u0e08\u0e30\u0e44\u0e14\u0e49\u0e44\u0e21\u0e48\u0e40\u0e22\u0e2d\u0e30\u0e08\u0e19\u0e40\u0e01\u0e34\u0e19\u0e44\u0e1b \u0e43\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e19\u0e35\u0e49\u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25(Update) \u0e43\u0e19\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e14\u0e39\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e0b\u0e31\u0e01\u0e2b\u0e19\u0e48\u0e2d\u0e22\u0e04\u0e23\u0e31\u0e1a \u2013\u00a0\u00a0\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e1a\u0e19\u0e40\u0e0b\u0e34\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c \u2013 \u00a0(Insert) \u0e01\u0e32\u0e23\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e1a\u0e19 Mysql !! \u0e04\u0e27\u0e23\u0e22\u0e49\u0e2d\u0e19\u0e44\u0e1b\u0e2d\u0e48\u0e32\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21 \u201c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 Mysql \u0e1a\u0e19\u0e40\u0e0b\u0e34\u0e1f\u0e40\u0e27\u0e2d\u0e23\u0e4c\u201d\u00a0\u0e01\u0e48\u0e2d\u0e19\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-23351","post","type-post","status-publish","format-standard","hentry","category-13"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6cOVM-64D","_links":{"self":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/23351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23351"}],"version-history":[{"count":2,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/23351\/revisions"}],"predecessor-version":[{"id":25298,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/23351\/revisions\/25298"}],"wp:attachment":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23351"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23351"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}