{"id":23342,"date":"2019-06-24T11:17:49","date_gmt":"2019-06-24T04:17:49","guid":{"rendered":"http:\/\/tom.ji42.com\/?p=23342"},"modified":"2019-06-24T11:17:49","modified_gmt":"2019-06-24T04:17:49","slug":"%e0%b8%ad%e0%b9%88%e0%b8%b2%e0%b8%99%e0%b8%84%e0%b9%88%e0%b8%b2-id-%e0%b8%82%e0%b8%ad%e0%b8%87-record-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%9a%e0%b8%b1%e0%b8%99%e0%b8%97%e0%b8%b6%e0%b8%81%e0%b8%a5","status":"publish","type":"post","link":"https:\/\/tom.tomwork.net\/?p=23342","title":{"rendered":"\u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32 ID \u0e02\u0e2d\u0e07 record \u0e17\u0e35\u0e48\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14"},"content":{"rendered":"<p>\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32 id \u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e44\u0e14\u0e49\u0e2b\u0e25\u0e32\u0e22\u0e27\u0e34\u0e18\u0e35 \u0e0b\u0e36\u0e48\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e27\u0e34\u0e18\u0e35\u0e01\u0e47\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e01\u0e31\u0e19\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e23\u0e32\u0e21\u0e32\u0e14\u0e39\u0e01\u0e31\u0e19\u0e27\u0e48\u0e32\u0e21\u0e35\u0e27\u0e34\u0e18\u0e35\u0e43\u0e14\u0e1a\u0e49\u0e32\u0e07<\/p>\n<p>1.\u0e43\u0e0a\u0e49\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 mysql_insert_id() \u0e02\u0e2d\u0e07 PHP \u0e0b\u0e35\u0e48\u0e07\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e19\u0e35\u0e49\u0e08\u0e30\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32 id \u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14 \u0e17\u0e35\u0e48\u0e17\u0e33\u0e01\u0e32\u0e23 \u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01 \u0e2b\u0e23\u0e37\u0e2d \u0e41\u0e01\u0e49\u0e44\u0e02 \u0e22\u0e49\u0e33\u0e27\u0e48\u0e32 \u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01 \u0e2b\u0e23\u0e37\u0e2d \u0e41\u0e01\u0e49\u0e44\u0e02\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u0e16\u0e36\u0e07\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32\u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e44\u0e14\u0e49\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e19\u0e35\u0e49\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e40\u0e2a\u0e35\u0e22\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22 \u0e15\u0e23\u0e07\u0e17\u0e35\u0e48 \u0e40\u0e23\u0e32\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e01\u0e32\u0e23\u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32\u0e19\u0e35\u0e49\u0e17\u0e31\u0e19\u0e17\u0e35 \u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e17\u0e33\u0e01\u0e32\u0e23 insert \u0e2b\u0e23\u0e37\u0e2d update \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1b\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e1b\u0e40\u0e14\u0e17\u0e04\u0e48\u0e32\u0e08\u0e32\u0e01\u0e04\u0e19\u0e2d\u0e37\u0e48\u0e19 \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49 \u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07<br \/>\n<code><\/code><\/p>\n<div class=\"content-code \">&lt;?php<br \/>\n$sql = &#8220;INSERT INTO table_name &#8230;..&#8221;;\u00a0<span class=\"comment\">\/\/ query<br \/>\n<\/span>\u00a0\u00a0 \u00a0 $res = mysql_query($sql);\u00a0<span class=\"comment\">\/\/ \u0e17\u0e33\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 INSERT<br \/>\n<\/span>\u00a0 \u00a0 \u00a0$last_id = mysql_insert_id();\u00a0<span class=\"comment\">\/\/ \u0e04\u0e37\u0e19\u0e04\u0e48\u0e32 id \u0e17\u0e35\u0e48 insert \u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14<br \/>\n<\/span>\u00a0?&gt;<\/div>\n<p><!--more--><\/p>\n<p><code><\/code>2.\u0e43\u0e0a\u0e49\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 SQL \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e2b\u0e32\u0e04\u0e48\u0e32 max \u0e02\u0e2d\u0e07 id \u0e40\u0e0a\u0e48\u0e19 SELECT MAX(id) FROM table_name \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e44\u0e14\u0e49 id \u0e17\u0e35\u0e48\u0e21\u0e35\u0e04\u0e48\u0e32\u0e21\u0e32\u0e01\u0e2a\u0e38\u0e14(\u0e2b\u0e23\u0e37\u0e2d \u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14)\u0e2d\u0e2d\u0e01\u0e21\u0e32 \u0e27\u0e34\u0e18\u0e35\u0e19\u0e35\u0e49 \u0e08\u0e30\u0e43\u0e0a\u0e49\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e43\u0e14\u0e01\u0e47\u0e44\u0e14\u0e49\u0e04\u0e23\u0e31\u0e1a \u0e2d\u0e32\u0e08\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e2b\u0e32\u0e04\u0e48\u0e32 id \u0e16\u0e31\u0e14\u0e21\u0e32\u0e17\u0e35\u0e48\u0e08\u0e30 insert \u0e44\u0e14\u0e49 \u0e42\u0e14\u0e22\u0e01\u0e32\u0e23\u0e1a\u0e27\u0e01 1 \u0e01\u0e31\u0e1a\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e2d\u0e48\u0e32\u0e19\u0e44\u0e14\u0e49 \u0e0b\u0e36\u0e48\u0e07\u0e27\u0e34\u0e18\u0e35\u0e19\u0e35\u0e49 \u0e08\u0e30\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e40\u0e2a\u0e35\u0e22\u0e17\u0e35\u0e48 \u0e2b\u0e32\u0e01\u0e21\u0e35\u0e01\u0e32\u0e23\u0e25\u0e1a\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23 id \u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e2d\u0e2d\u0e01\u0e44\u0e1b\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e01\u0e32\u0e23\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32 id \u0e16\u0e31\u0e14\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e08\u0e30 insert \u0e44\u0e21\u0e48\u0e20\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07<br \/>\n<code><\/code><\/p>\n<div class=\"content-code \">&lt;?php<br \/>\n$last_id = &#8220;SELECT MAX(id) AS maxid FROM table_name&#8221;;\u00a0<span class=\"comment\">\/\/ query \u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32 id \u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14<br \/>\n<\/span>\u00a0 \u00a0 \u00a0 $res = mysql_query($sql);\u00a0<span class=\"comment\">\/\/ \u0e17\u0e33\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<br \/>\n<\/span>\u00a0 \u00a0 \u00a0 $ret = mysql_fetch_assoc($result);\u00a0<span class=\"comment\">\/\/ \u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32<br \/>\n<\/span>\u00a0\u00a0 \u00a0 \u00a0$last_id = $ret[&#8216;maxid&#8217;];\u00a0<span class=\"comment\">\/\/ \u0e04\u0e37\u0e19\u0e04\u0e48\u0e32 id \u0e17\u0e35\u0e48 insert \u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14<br \/>\n<\/span>\u00a0?&gt;<\/div>\n<p><code><\/code>\u0e22\u0e01\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07 \u0e2b\u0e32\u0e01\u0e21\u0e35\u0e01\u0e32\u0e23\u0e25\u0e1a id \u0e17\u0e35\u0e48 30 \u0e2d\u0e2d\u0e01 (\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e04\u0e37\u0e2d id \u0e17\u0e35\u0e48 1,2,3&#8230;.29,30) \u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49 id \u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14\u0e01\u0e25\u0e32\u0e22\u0e40\u0e1b\u0e47\u0e19 29 \u0e0b\u0e36\u0e48\u0e07\u0e2b\u0e32\u0e01\u0e2d\u0e48\u0e32\u0e19 \u0e04\u0e48\u0e32\u0e14\u0e49\u0e27\u0e22 MAX \u0e2d\u0e2d\u0e01\u0e21\u0e32 \u0e08\u0e30\u0e44\u0e14\u0e49\u0e04\u0e48\u0e32\u0e19\u0e35\u0e49\u0e0b\u0e36\u0e48\u0e07\u0e40\u0e1b\u0e47\u0e19\u0e04\u0e48\u0e32\u0e2a\u0e39\u0e07\u0e2a\u0e38\u0e14 \u0e41\u0e25\u0e30 id \u0e16\u0e31\u0e14\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23 inset \u0e40\u0e1b\u0e47\u0e19 30 \u0e41\u0e15\u0e48\u0e43\u0e19\u0e04\u0e27\u0e32\u0e21\u0e40\u0e1b\u0e47\u0e19\u0e08\u0e23\u0e34\u0e07 MySQL \u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23 insert \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e16\u0e31\u0e14\u0e44\u0e1b\u0e17\u0e35\u0e48 id = 31 (\u0e15\u0e32\u0e21\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e2d\u0e48\u0e32\u0e19\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 AUTO_INCREMENT \u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01 id 30 \u0e16\u0e39\u0e01\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e41\u0e25\u0e49\u0e27 \u0e41\u0e25\u0e30\u0e25\u0e1a\u0e2d\u0e2d\u0e01\u0e44\u0e1b) \u0e0b\u0e36\u0e48\u0e07\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07\u0e15\u0e32\u0e21\u0e04\u0e27\u0e32\u0e21\u0e40\u0e1b\u0e47\u0e19\u0e08\u0e23\u0e34\u0e07<\/p>\n<p>\u0e01\u0e32\u0e23\u0e41\u0e01\u0e49\u0e44\u0e02\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e01\u0e23\u0e13\u0e35\u0e19\u0e35\u0e49 \u0e04\u0e37\u0e2d \u0e40\u0e23\u0e32\u0e2d\u0e32\u0e08\u0e08\u0e30\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e1f\u0e34\u0e25\u0e14\u0e4c id \u0e44\u0e21\u0e48\u0e43\u0e2b\u0e49\u0e21\u0e31\u0e19\u0e40\u0e1b\u0e47\u0e19 AUTO_INCREMENT \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e04\u0e48\u0e32\u0e19\u0e35\u0e49\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e40\u0e1e\u0e34\u0e48\u0e21\u0e42\u0e14\u0e22\u0e2d\u0e31\u0e15\u0e42\u0e19\u0e21\u0e31\u0e15\u0e34 \u0e0b\u0e36\u0e48\u0e07\u0e40\u0e23\u0e32\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e01\u0e32\u0e23\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e04\u0e48\u0e32\u0e1f\u0e34\u0e25\u0e14\u0e4c\u0e19\u0e35\u0e49\u0e40\u0e2d\u0e07<\/p>\n<p>3.\u0e2d\u0e48\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 AUTO_INCREMENT \u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e42\u0e14\u0e22\u0e15\u0e23\u0e07<br \/>\n<code><\/code><\/p>\n<div class=\"content-code \">&lt;?php<br \/>\n$sql = &#8220;SHOW TABLE STATUS LIKE &#8216;table_name&#8221;;<br \/>\n$result = @mysql_query($sql);<br \/>\n$row = @mysql_fetch_assoc($result);<br \/>\n$next_id = (int)$row[&#8216;Auto_increment&#8217;];\u00a0<span class=\"comment\">\/\/ \u0e04\u0e37\u0e19\u0e04\u0e48\u0e32 id \u0e08\u0e32\u0e01\u0e04\u0e48\u0e32 AUTO_INCREMENT \u0e02\u0e2d\u0e07\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<br \/>\n<\/span>\u00a0?&gt;<\/div>\n<p><code><\/code>\u0e27\u0e34\u0e18\u0e35\u0e17\u0e35\u0e48 1 \u0e40\u0e2b\u0e21\u0e32\u0e30\u0e01\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e2b\u0e32\u0e04\u0e48\u0e32 id \u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01 insert \u0e2b\u0e23\u0e37\u0e2d edit \u0e40\u0e17\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19\u0e04\u0e23\u0e31\u0e1a<br \/>\n\u0e27\u0e34\u0e18\u0e35\u0e17\u0e35\u0e48 2 \u0e40\u0e2b\u0e21\u0e32\u0e30\u0e01\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e41\u0e1a\u0e1a\u0e17\u0e35\u0e48\u0e44\u0e21\u0e48\u0e01\u0e33\u0e2b\u0e19\u0e14 AUTO_INCREMENT \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e33\u0e2b\u0e19\u0e14 id \u0e40\u0e2d\u0e07\u0e04\u0e23\u0e31\u0e1a<br \/>\n\u0e27\u0e34\u0e18\u0e35\u0e17\u0e35\u0e48 3 \u0e40\u0e2b\u0e21\u0e32\u0e30\u0e01\u0e31\u0e1a\u0e01\u0e32\u0e23\u0e2b\u0e32\u0e04\u0e48\u0e32 id \u0e17\u0e35\u0e48\u0e08\u0e30\u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01\u0e16\u0e31\u0e14\u0e44\u0e1b \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e21\u0e35\u0e01\u0e32\u0e23\u0e01\u0e33\u0e2b\u0e19\u0e14 AUTO_INCREMENT \u0e44\u0e27\u0e49<\/p>\n<p>\u0e17\u0e31\u0e49\u0e07 3 \u0e27\u0e34\u0e18\u0e35 \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32\u0e41\u0e25\u0e49\u0e27 \u0e04\u0e27\u0e23\u0e21\u0e35\u0e01\u0e32\u0e23\u0e43\u0e0a\u0e49\u0e04\u0e48\u0e32\u0e19\u0e31\u0e49\u0e19\u0e17\u0e31\u0e19\u0e17\u0e35 \u0e2b\u0e23\u0e37\u0e2d \u0e17\u0e33\u0e01\u0e32\u0e23 lock \u0e15\u0e32\u0e23\u0e32\u0e07\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1b\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e01\u0e32\u0e23 insert \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e32\u0e01\u0e1c\u0e39\u0e49\u0e2d\u0e37\u0e48\u0e19\u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49\u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e2d\u0e48\u0e32\u0e19\u0e44\u0e14\u0e49\u0e16\u0e39\u0e01\u0e43\u0e0a\u0e49\u0e44\u0e1b\u0e01\u0e48\u0e2d\u0e19\u0e41\u0e25\u0e49\u0e27 \u0e41\u0e25\u0e30\u0e17\u0e35\u0e48\u0e2a\u0e33\u0e04\u0e31\u0e0d \u0e1f\u0e34\u0e25\u0e14\u0e4c id \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e2d\u0e48\u0e32\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e33\u0e2b\u0e19\u0e14\u0e43\u0e2b\u0e49\u0e40\u0e1b\u0e47\u0e19 key \u0e14\u0e49\u0e27\u0e22\u0e04\u0e23\u0e31\u0e1a(\u0e1b\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e01\u0e32\u0e23\u0e21\u0e35\u0e04\u0e48\u0e32\u0e0b\u0e49\u0e33\u0e01\u0e31\u0e19)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e40\u0e23\u0e32\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32 id \u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14\u0e08\u0e32\u0e01\u0e10\u0e32\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 \u0e44\u0e14\u0e49\u0e2b\u0e25\u0e32\u0e22\u0e27\u0e34\u0e18\u0e35 \u0e0b\u0e36\u0e48\u0e07\u0e41\u0e15\u0e48\u0e25\u0e30\u0e27\u0e34\u0e18\u0e35\u0e01\u0e47\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e08\u0e33\u0e01\u0e31\u0e14\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e01\u0e31\u0e19\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e23\u0e32\u0e21\u0e32\u0e14\u0e39\u0e01\u0e31\u0e19\u0e27\u0e48\u0e32\u0e21\u0e35\u0e27\u0e34\u0e18\u0e35\u0e43\u0e14\u0e1a\u0e49\u0e32\u0e07 1.\u0e43\u0e0a\u0e49\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19 mysql_insert_id() \u0e02\u0e2d\u0e07 PHP \u0e0b\u0e35\u0e48\u0e07\u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e19\u0e35\u0e49\u0e08\u0e30\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32 id \u0e25\u0e48\u0e32\u0e2a\u0e38\u0e14 \u0e17\u0e35\u0e48\u0e17\u0e33\u0e01\u0e32\u0e23 \u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01 \u0e2b\u0e23\u0e37\u0e2d \u0e41\u0e01\u0e49\u0e44\u0e02 \u0e22\u0e49\u0e33\u0e27\u0e48\u0e32 \u0e1a\u0e31\u0e19\u0e17\u0e36\u0e01 \u0e2b\u0e23\u0e37\u0e2d \u0e41\u0e01\u0e49\u0e44\u0e02\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a \u0e16\u0e36\u0e07\u0e08\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e04\u0e37\u0e19\u0e04\u0e48\u0e32\u0e2d\u0e2d\u0e01\u0e21\u0e32\u0e44\u0e14\u0e49\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 \u0e1f\u0e31\u0e07\u0e01\u0e4c\u0e0a\u0e31\u0e48\u0e19\u0e19\u0e35\u0e49\u0e21\u0e35\u0e02\u0e49\u0e2d\u0e40\u0e2a\u0e35\u0e22\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22 \u0e15\u0e23\u0e07\u0e17\u0e35\u0e48 \u0e40\u0e23\u0e32\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e17\u0e33\u0e01\u0e32\u0e23\u0e2d\u0e48\u0e32\u0e19\u0e04\u0e48\u0e32\u0e19\u0e35\u0e49\u0e17\u0e31\u0e19\u0e17\u0e35 \u0e2b\u0e25\u0e31\u0e07\u0e08\u0e32\u0e01\u0e17\u0e33\u0e01\u0e32\u0e23 insert \u0e2b\u0e23\u0e37\u0e2d update \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e1b\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e19\u0e01\u0e32\u0e23\u0e2d\u0e31\u0e1b\u0e40\u0e14\u0e17\u0e04\u0e48\u0e32\u0e08\u0e32\u0e01\u0e04\u0e19\u0e2d\u0e37\u0e48\u0e19 \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e17\u0e33\u0e43\u0e2b\u0e49 \u0e04\u0e48\u0e32\u0e17\u0e35\u0e48\u0e44\u0e14\u0e49\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e15\u0e49\u0e2d\u0e07 &lt;?php $sql = &#8220;INSERT INTO table_name &#8230;..&#8221;;\u00a0\/\/ query \u00a0\u00a0 \u00a0 $res = mysql_query($sql);\u00a0\/\/ \u0e17\u0e33\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 INSERT \u00a0 \u00a0 \u00a0$last_id = mysql_insert_id();\u00a0\/\/ \u0e04\u0e37\u0e19\u0e04\u0e48\u0e32 id \u0e17\u0e35\u0e48 [&hellip;]<\/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-23342","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-64u","_links":{"self":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/23342","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=23342"}],"version-history":[{"count":1,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/23342\/revisions"}],"predecessor-version":[{"id":23343,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=\/wp\/v2\/posts\/23342\/revisions\/23343"}],"wp:attachment":[{"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tom.tomwork.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}