{"id":6047,"date":"2020-08-18T16:04:10","date_gmt":"2020-08-18T07:04:10","guid":{"rendered":"https:\/\/nsme.red\/wp\/?p=6047"},"modified":"2022-07-17T11:26:59","modified_gmt":"2022-07-17T02:26:59","slug":"%e9%85%8d%e5%88%97%e3%82%92%e3%82%af%e3%82%a9%e3%83%bc%e3%83%88%e3%81%a4%e3%81%8dimplode","status":"publish","type":"post","link":"https:\/\/core.nsme.net\/notes\/php\/%e9%85%8d%e5%88%97\/6047\/","title":{"rendered":"\u914d\u5217\u3092\u30af\u30a9\u30fc\u30c8\u3064\u304dimplode"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u914d\u5217\u306b\u5165\u308c\u305f\u30c7\u30fc\u30bf\u3067\u3001mysql\u691c\u7d22\u3057\u305f\u3044\u6642\u3001\u30af\u30a9\u30fc\u30c8\u4ed8\u304d\u3067imlode\u3057\u305f\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">php\u304b\u3089vue.js\u3078\u5024\u3092\u4ee3\u5165\u3059\u308b\u3068\u304d\u306b\u3082\u5fc5\u8981<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$sys_ngword = \"'\". implode(\"','\",$sys_ngword).\"'\";\n$sql = \"SELECT ...\nmeta_value IN ($sys_ngword) \";<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u914d\u5217\u306b\u5165\u308c\u305f\u30c7\u30fc\u30bf\u3067\u3001mysql\u691c\u7d22\u3057\u305f\u3044\u6642\u3001\u30af\u30a9\u30fc\u30c8\u4ed8\u304d\u3067imlode\u3057\u305f\u3044\u3002 php\u304b\u3089vue.js\u3078\u5024\u3092\u4ee3\u5165\u3059\u308b\u3068\u304d\u306b\u3082\u5fc5\u8981<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[40,26],"tags":[],"class_list":["post-6047","post","type-post","status-publish","format-standard","hentry","category-tool","category-26"],"acf":[],"_links":{"self":[{"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/posts\/6047","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/comments?post=6047"}],"version-history":[{"count":4,"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/posts\/6047\/revisions"}],"predecessor-version":[{"id":6214,"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/posts\/6047\/revisions\/6214"}],"wp:attachment":[{"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/media?parent=6047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/categories?post=6047"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/core.nsme.net\/notes\/wp-json\/wp\/v2\/tags?post=6047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}