{"id":7878,"date":"2024-03-14T23:04:13","date_gmt":"2024-03-14T14:04:13","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/"},"modified":"2025-08-03T17:02:13","modified_gmt":"2025-08-03T08:02:13","slug":"how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/","title":{"rendered":"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>PHP\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001SQL\u6587\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u7c21\u5358\u306a\u4f8b\u3067\u3059\uff1a<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">&lt;?php<\/span>\r\n\r\n<span class=\"hljs-comment\">\/\/ \u8fde\u63a5\u6570\u636e\u5e93<\/span>\r\n<span class=\"hljs-variable\">$servername<\/span> = <span class=\"hljs-string\">\"localhost\"<\/span>;\r\n<span class=\"hljs-variable\">$username<\/span> = <span class=\"hljs-string\">\"username\"<\/span>;\r\n<span class=\"hljs-variable\">$password<\/span> = <span class=\"hljs-string\">\"password\"<\/span>;\r\n<span class=\"hljs-variable\">$dbname<\/span> = <span class=\"hljs-string\">\"myDB\"<\/span>;\r\n\r\n<span class=\"hljs-variable\">$conn<\/span> = <span class=\"hljs-keyword\">new<\/span> <span class=\"hljs-title function_ invoke__\">mysqli<\/span>(<span class=\"hljs-variable\">$servername<\/span>, <span class=\"hljs-variable\">$username<\/span>, <span class=\"hljs-variable\">$password<\/span>, <span class=\"hljs-variable\">$dbname<\/span>);\r\n\r\n<span class=\"hljs-comment\">\/\/ \u68c0\u67e5\u8fde\u63a5<\/span>\r\n<span class=\"hljs-keyword\">if<\/span> (<span class=\"hljs-variable\">$conn<\/span>-&gt;connect_error) {\r\n    <span class=\"hljs-keyword\">die<\/span>(<span class=\"hljs-string\">\"\u8fde\u63a5\u5931\u8d25: \"<\/span> . <span class=\"hljs-variable\">$conn<\/span>-&gt;connect_error);\r\n}\r\n\r\n<span class=\"hljs-comment\">\/\/ \u521b\u5efa\u6570\u636e\u8868<\/span>\r\n<span class=\"hljs-variable\">$sql<\/span> = <span class=\"hljs-string\">\"CREATE TABLE users (\r\n    id INT(6) UNSIGNED AUTO_INCREMENT PRIMARY KEY,\r\n    username VARCHAR(30) NOT NULL,\r\n    email VARCHAR(50) NOT NULL UNIQUE,\r\n    password VARCHAR(50) NOT NULL\r\n)\"<\/span>;\r\n\r\n<span class=\"hljs-keyword\">if<\/span> (<span class=\"hljs-variable\">$conn<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">query<\/span>(<span class=\"hljs-variable\">$sql<\/span>) === <span class=\"hljs-literal\">TRUE<\/span>) {\r\n    <span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-string\">\"\u6570\u636e\u8868\u521b\u5efa\u6210\u529f\"<\/span>;\r\n} <span class=\"hljs-keyword\">else<\/span> {\r\n    <span class=\"hljs-keyword\">echo<\/span> <span class=\"hljs-string\">\"Error creating table: \"<\/span> . <span class=\"hljs-variable\">$conn<\/span>-&gt;error;\r\n}\r\n\r\n<span class=\"hljs-variable\">$conn<\/span>-&gt;<span class=\"hljs-title function_ invoke__\">close<\/span>();\r\n<span class=\"hljs-meta\">?&gt;<\/span>\r\n<\/code><\/pre>\n<p>\u4e0a\u8a18\u306e\u4f8b\u3067\u306f\u3001users\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u3092\u4f5c\u6210\u3059\u308b\u969b\u306bemail\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u4e00\u610f\u306a\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8ffd\u52a0\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001email\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5024\u304c\u30c6\u30fc\u30d6\u30eb\u5168\u4f53\u3067\u4e00\u610f\u3067\u3042\u308b\u3053\u3068\u304c\u4fdd\u8a3c\u3055\u308c\u3001\u91cd\u8907\u3057\u305f\u5024\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u3092\u9632\u304e\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3067\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001SQL\u6587\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u7c21\u5358\u306a\u4f8b\u3067\u3059\uff1a &lt;?php \/\/ \u8fde\u63a5\u6570\u636e\u5e93 $servername = &#8220;localhost&#8221;; $us [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[117,161,1105,14,3028],"class_list":["post-7878","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-mysql","tag-php","tag-1105","tag-14","tag-3028"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"PHP\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306b\u5f79\u7acb\u3064\u5b9f\u8df5\u7684\u306a\u624b\u9806\u3092\u3054\u7d39\u4ecb\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306e\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"PHP\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306b\u5f79\u7acb\u3064\u5b9f\u8df5\u7684\u306a\u624b\u9806\u3092\u3054\u7d39\u4ecb\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306e\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-14T14:04:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-03T08:02:13+00:00\" \/>\n<meta name=\"author\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u512a\u6597, \u671d\u967d\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/\",\"name\":\"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-14T14:04:13+00:00\",\"dateModified\":\"2025-08-03T08:02:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\"},\"description\":\"PHP\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306b\u5f79\u7acb\u3064\u5b9f\u8df5\u7684\u306a\u624b\u9806\u3092\u3054\u7d39\u4ecb\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28\",\"name\":\"\u512a\u6597, \u671d\u967d\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g\",\"caption\":\"\u512a\u6597, \u671d\u967d\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","description":"PHP\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306b\u5f79\u7acb\u3064\u5b9f\u8df5\u7684\u306a\u624b\u9806\u3092\u3054\u7d39\u4ecb\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306e\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\/","og_locale":"ja_JP","og_type":"article","og_title":"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","og_description":"PHP\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306b\u5f79\u7acb\u3064\u5b9f\u8df5\u7684\u306a\u624b\u9806\u3092\u3054\u7d39\u4ecb\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306e\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-14T14:04:13+00:00","article_modified_time":"2025-08-03T08:02:13+00:00","author":"\u512a\u6597, \u671d\u967d","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u512a\u6597, \u671d\u967d","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/","name":"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-14T14:04:13+00:00","dateModified":"2025-08-03T08:02:13+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28"},"description":"PHP\u3067\u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002MySQL\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u5411\u4e0a\u306b\u5f79\u7acb\u3064\u5b9f\u8df5\u7684\u306a\u624b\u9806\u3092\u3054\u7d39\u4ecb\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"PHP \u30c7\u30fc\u30bf\u30c6\u30fc\u30d6\u30eb\u306b\u30e6\u30cb\u30fc\u30af\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/cab7534c71201607a41f395de14d7d28","name":"\u512a\u6597, \u671d\u967d","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/56ecb1d20648a2ff67709eeaa7b6eddeb4d52aca0d46febc7f12bbef507187d0?s=96&d=mm&r=g","caption":"\u512a\u6597, \u671d\u967d"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yutoasahi\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/how-to-create-a-unique-index-for-a-data-table-in-php-php%e3%81%a7%e3%83%87%e3%83%bc%e3%82%bf%e3%83%86%e3%83%bc%e3%83%96%e3%83%ab%e3%81%ae%e3%83%a6%e3%83%8b%e3%83%bc%e3%82%af%e3%82%a4%e3%83%b3\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/7878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=7878"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/7878\/revisions"}],"predecessor-version":[{"id":328933,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/7878\/revisions\/328933"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=7878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=7878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=7878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}