{"id":195,"date":"2021-04-14T17:39:43","date_gmt":"2021-04-14T08:39:43","guid":{"rendered":"https:\/\/trret.com\/?p=195"},"modified":"2021-04-14T17:39:44","modified_gmt":"2021-04-14T08:39:44","slug":"phpjsmysqlasp-%eb%ac%b8%ec%9e%90%ec%97%b4-%ec%9e%90%eb%a5%b4%ea%b8%b0-%eb%ac%b8%ec%9e%90%ec%97%b4-%ec%b9%98%ed%99%98","status":"publish","type":"post","link":"https:\/\/trret.com\/?p=195","title":{"rendered":"php,js,mysql,asp \ubb38\uc790\uc5f4 \uc790\ub974\uae30, \ubb38\uc790\uc5f4 \uce58\ud658"},"content":{"rendered":"\n<p>\uc5ec\ub7ec \uc5b8\uc5b4\ub97c \ud558\ub2e4\ubcf4\ub2c8 \ub9e8\ub0a0 \ud5f7\uac08\ub824\uc11c \uad6c\uae00\uc5d0 \ucc3e\ub294\ub370 \ud55c\ubc88\uc5d0 \uc815\ub9ac\ud574\ub193\uc790. <\/p>\n\n\n\n<h2><strong>\ubb38\uc790\uc5f4 \uc790\ub974\uae30<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n $ssulin_date = substr(\"2021-04-14 10:00:00 547\", 0, 4); \n \/\/ 2021\n?>\n\n&lt;script>\n var now_date = \"2021-04-14 10:00:00 547\";\n var ssuling_date = now_date.substr(0, 4);\n \/\/2021\n&lt;\/script>\n\n\/*mysql*\/\nselect left(tDatetime, 4) from anytable;\n\n&lt;%\n str = \"2021-04-14 10:00:00 547\"\n response.write LEFT(str, 4)\n \/\/2021\n%><\/code><\/pre>\n\n\n\n<h2>\ubb38\uc790\uc5f4 \uce58\ud658<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;?php\n $value = \"\uac00\ub098\ub2e4\ub77c\";\n echo str_replace(\"\ub2e4\ub77c\", \"\ub9c8\ubc14\", $value); \n \/\/\uac00\ub098\ub9c8\ubc14\n?>\n\n&lt;script>\n var str = '\uac00\ub098\ub2e4\ub77c';\n var replaced_str = str.replace(\/\ub2e4\ub77c\/g, '\ub9c8\ubc14');\n document.write('\ubcc0\uacbd \ud6c4 : ', replaced_str, '&lt;br\/>');\n \/\/\uac00\ub098\ub9c8\ubc14\n&lt;\/script>\n\n\/*mysql*\/\nSELECT REPLACE(\"\uac00\ub098\ub2e4\ub77c\", \"\ub2e4\ub77c\", \"\ub9c8\ubc14\");\n\n&lt;%\n tmpStr = \"\uac00\ub098\ub2e4\ub77c\"\n rstStr = Replace(tmpStr, \"\ub2e4\ub77c\", \"\ub9c8\ubc14\")\n response.write rstStr\n \/\/\uac00\ub098\ub9c8\ubc14\n%><\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc5ec\ub7ec \uc5b8\uc5b4\ub97c \ud558\ub2e4\ubcf4\ub2c8 \ub9e8\ub0a0 \ud5f7\uac08\ub824\uc11c \uad6c\uae00\uc5d0 \ucc3e\ub294\ub370 \ud55c\ubc88\uc5d0 \uc815\ub9ac\ud574\ub193\uc790. \ubb38\uc790\uc5f4 \uc790\ub974\uae30 \ubb38\uc790\uc5f4 \uce58\ud658<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[],"_links":{"self":[{"href":"https:\/\/trret.com\/index.php?rest_route=\/wp\/v2\/posts\/195"}],"collection":[{"href":"https:\/\/trret.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trret.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trret.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/trret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=195"}],"version-history":[{"count":1,"href":"https:\/\/trret.com\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions"}],"predecessor-version":[{"id":196,"href":"https:\/\/trret.com\/index.php?rest_route=\/wp\/v2\/posts\/195\/revisions\/196"}],"wp:attachment":[{"href":"https:\/\/trret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trret.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trret.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}