{"id":1923,"date":"2014-09-12T17:17:14","date_gmt":"2014-09-12T08:17:14","guid":{"rendered":"http:\/\/taitan916.info\/blog\/?p=1923"},"modified":"2024-04-18T15:27:50","modified_gmt":"2024-04-18T06:27:50","slug":"post-1923","status":"publish","type":"post","link":"https:\/\/taitan916.info\/blog\/archives\/1923","title":{"rendered":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210"},"content":{"rendered":"<p>PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>\u30c6\u30fc\u30d6\u30eb\u69cb\u9020<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">CREATE TABLE 'bbs' ( 'id' INTEGER PRIMARY KEY, 'msg' TEXT , 'ymd' DATETIME );<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;?php\r\n\r\n\/\/DB\u63a5\u7d9a\r\n$db = new SQLite3('.\/db\/bbs');\r\n\r\n\r\n\/\/\u66f8\u304d\u8fbc\u307f\u6642\r\nif( $_POST['mode'] == 'insert' &amp;&amp; $_POST['msg'] ){\r\n    $msg = $db-&gt;escapeString(strip_tags($_POST['msg'])); \/\/\u30a8\u30b9\u30b1\u30fc\u30d7&amp;HTML\u30bf\u30b0\u9664\u53bb\r\n    $query = '\r\n        INSERT INTO bbs \r\n            (msg, ymd) \r\n        VALUES \r\n            (\"' . $msg . '\", datetime(\"now\", \"localtime\"))\r\n    ';\r\n    $result = $db-&gt;query($query);\r\n\r\n    if( $result ){\r\n        header('Location:' . $_SERVER['PHP_SELF']);\r\n    }else{\r\n        echo 'insert error!';\r\n        exit();\r\n    }\r\n}\r\n\r\n\r\n\/\/\u524a\u9664\u6642\r\nif( $_GET['mode'] == 'delete' &amp;&amp; $_GET['id'] ){\r\n    $id = $db-&gt;escapeString($_GET['id']); \/\/\u30a8\u30b9\u30b1\u30fc\u30d7\r\n    $query = 'DELETE FROM bbs WHERE id = ' . $id;\r\n    $result = $db-&gt;query($query);\r\n\r\n    if( $result ){\r\n        header('Location:' . $_SERVER['PHP_SELF']);\r\n    }else{\r\n        echo 'delete error!';\r\n        exit();\r\n    }\r\n}\r\n\r\n\r\n\/\/\u7de8\u96c6\u7528\u306e\u30c7\u30fc\u30bf\u53d6\u5f97\r\nif( $_GET['mode'] == 'update' &amp;&amp; $_GET['id'] ){\r\n    $id = $db-&gt;escapeString($_GET['id']); \/\/\u30a8\u30b9\u30b1\u30fc\u30d7\r\n    $query = 'SELECT * FROM bbs WHERE id = ' . $id;\r\n    $result = $db-&gt;query($query);\r\n\r\n    if( $result ){\r\n        while ($row = $result-&gt;fetchArray()) {\r\n            $updateData['id'] = $row['id'];\r\n            $updateData['msg'] = $row['msg'];\r\n        }\r\n    }else{\r\n        echo 'select error!';\r\n        exit();\r\n    }\r\n}\r\n\r\n\r\n\/\/\u7de8\u96c6\r\nif( $_POST['mode'] == 'update2' &amp;&amp; $_POST['id'] &amp;&amp; $_POST['msg']){\r\n    $msg = $db-&gt;escapeString(strip_tags($_POST['msg'])); \/\/\u30a8\u30b9\u30b1\u30fc\u30d7\r\n    $id = $db-&gt;escapeString(strip_tags($_POST['id'])); \/\/\u30a8\u30b9\u30b1\u30fc\u30d7\r\n\r\n    $query = '\r\n        UPDATE bbs \r\n        SET msg = \"' . $msg . '\"\r\n        WHERE id = ' . $id\r\n    ;\r\n    $result = $db-&gt;query($query);\r\n\r\n    if( $result ){\r\n        header('Location:' . $_SERVER['PHP_SELF']);\r\n    }else{\r\n        echo 'update error!';\r\n        exit();\r\n    }\r\n}\r\n\r\n\r\n\/\/\u8aad\u307f\u8fbc\u307f\r\n$bbsTable = '';\r\n$bbsTable .= '&lt;table border=\"1\"&gt;&lt;tr&gt;&lt;th&gt;\u756a\u53f7&lt;\/th&gt;&lt;th&gt;\u30e1\u30c3\u30bb\u30fc\u30b8&lt;\/th&gt;&lt;th&gt;\u66f8\u304d\u8fbc\u307f\u65e5\u6642&lt;\/th&gt;&lt;th&gt;\u7de8\u96c6&lt;\/th&gt;&lt;th&gt;\u524a\u9664&lt;\/th&gt;&lt;\/tr&gt;';\r\n\r\n$query = '\r\n    SELECT * \r\n    FROM bbs \r\n    ORDER BY id DESC \r\n    LIMIT 10\r\n';\r\n$result = $db-&gt;query($query);\r\n\r\nif( !$result ){\r\n    echo 'sql error!';\r\n    exit();\r\n}\r\n\r\nwhile ($row = $result-&gt;fetchArray()) {\r\n    $bbsTable .= '\r\n        &lt;tr&gt;\r\n            &lt;td&gt;' . $row['id'] . '&lt;\/td&gt;\r\n            &lt;td&gt;' . htmlspecialchars($row['msg']) . '&lt;\/td&gt;\r\n            &lt;td&gt;' . $row['ymd'] . '&lt;\/td&gt;\r\n            &lt;td&gt;&lt;input type=\"button\" onclick=\"return bbsUpdate('. $row['id'] .')\" value=\"\u7de8\u96c6\" class=\"btn\"&gt;&lt;\/td&gt;\r\n            &lt;td&gt;&lt;input type=\"button\" onclick=\"return bbsDelete('. $row['id'] .')\" value=\"\u524a\u9664\" class=\"btn btn-danger\"&gt;&lt;\/td&gt;\r\n        &lt;\/tr&gt;\r\n    ';\r\n}\r\n\r\n$bbsTable .= '&lt;\/table&gt;';\r\n$db-&gt;close();\r\n?&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;title&gt;PHP&amp;sqlite\u3067\u63b2\u793a\u677f\u30c6\u30b9\u30c8&lt;\/title&gt;\r\n&lt;link href=\"\/\/netdna.bootstrapcdn.com\/twitter-bootstrap\/2.3.2\/css\/bootstrap-combined.min.css\" rel=\"stylesheet\"&gt;\r\n&lt;script&gt;\r\nfunction bbsDelete( id ){\r\n    if( confirm('\u524a\u9664\u3057\u3066\u3088\u308d\u3057\u3044\u3067\u3059\u304b') ){\r\n        location.href = '&lt;?=$_SERVER[\"PHP_SELF\"]?&gt;?mode=delete&amp;id=' + id;\r\n    } else {\r\n        return false;\r\n    }\r\n}\r\nfunction bbsUpdate( id ){\r\n    location.href = '&lt;?=$_SERVER[\"PHP_SELF\"]?&gt;?mode=update&amp;id=' + id;\r\n}\r\n&lt;\/script&gt;\r\n\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;form action=\"&lt;?=$_SERVER[\"PHP_SELF\"]?&gt;\" method=\"post\"&gt;\r\n        &lt;textarea name=\"msg\" rows=\"5\" cols=\"60\"&gt;&lt;? if( $_GET['mode'] == 'update' ){?&gt;&lt;?=$updateData['msg']?&gt;&lt;?}?&gt;&lt;\/textarea&gt;&lt;br&gt;\r\n        &lt;input type=\"hidden\" name=\"mode\" value=\"&lt;?=( $_GET['mode'] == 'update' ) ? 'update2' : 'insert';?&gt;\"&gt;\r\n        &lt;? if( $_GET['mode'] == 'update' ){?&gt;&lt;input type=\"hidden\" name=\"id\" value=\"&lt;?=$updateData['id']?&gt;\"&gt;&lt;?}?&gt;\r\n        &lt;input type=\"submit\" value=\"\u66f8\u304d\u8fbc\u307f\"&gt;\r\n    &lt;\/form&gt;&lt;\/hr&gt;\r\n    &lt;?=$bbsTable?&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>&nbsp;<\/p>\n<h2>\u305d\u306e\u4ed6<\/h2>\n<p>\u8aad\u307f\u66f8\u304d\u3068\u304b\u306b\u95a2\u3057\u3066\u306fMySQL\u3068\u3042\u307e\u308a\u5909\u308f\u3089\u306a\u3044\u306e\u3067\u554f\u984c\u306a\u3044\u3051\u3069\u3001\u30d1\u30b9\u30ef\u30fc\u30c9\u3068\u304b\u304c\u7121\u3044\u306e\u3067\u3001DB\u30d5\u30a1\u30a4\u30eb\u306e\u6271\u3044\u306f\u6ce8\u610f\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3055\u305d\u3046\u3002<\/p>\n<p>\u3042\u3068\u8907\u6570\u306e\u66f8\u304d\u8fbc\u307f\u306e\u30bf\u30a4\u30df\u30f3\u30b0\u304c\u4e00\u81f4\u3059\u308b\u3068\u66f8\u304d\u8fbc\u307f\u30a8\u30e9\u30fc\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002\u8aad\u307f\u8fbc\u307f\u306fOK\u3002<\/p>\n<p>\u3088\u3063\u3066BBS\u3092\u4f5c\u308b\u306e\u306b\u306f\u5411\u3044\u3066\u306a\u3044\u3068\u3044\u3046\u3053\u3068\u306b\u306f\u306a\u3063\u3066\u3057\u307e\u3044\u305d\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 &nbsp; \u30c6\u30fc\u30d6\u30eb ... <\/p>\n","protected":false},"author":1,"featured_media":2297,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[2,43],"tags":[],"class_list":["post-1923","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php","category-sqlite"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"taitan\"\/>\n\t<meta name=\"keywords\" content=\"php,sqlite\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/taitan916.info\/blog\/archives\/1923\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta property=\"og:description\" content=\"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/taitan916.info\/blog\/archives\/1923\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"300\" \/>\n\t\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2014-09-12T08:17:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-04-18T06:27:50+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\" \/>\n\t\t<meta name=\"twitter:description\" content=\"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#article\",\"name\":\"PHP\\u3068SQLite\\u3067\\u7c21\\u6613BBS\\u306e\\u4f5c\\u6210 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"headline\":\"PHP\\u3068SQLite\\u3067\\u7c21\\u6613BBS\\u306e\\u4f5c\\u6210\",\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/1422186794_sqliteicon.png\",\"width\":300,\"height\":300},\"datePublished\":\"2014-09-12T17:17:14+09:00\",\"dateModified\":\"2024-04-18T15:27:50+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#webpage\"},\"articleSection\":\"PHP, SQLite\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"position\":1,\"name\":\"\\u30db\\u30fc\\u30e0\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database#listItem\",\"name\":\"\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database#listItem\",\"position\":2,\"name\":\"\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database\\\/sqlite#listItem\",\"name\":\"SQLite\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog#listItem\",\"name\":\"\\u30db\\u30fc\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database\\\/sqlite#listItem\",\"position\":3,\"name\":\"SQLite\",\"item\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database\\\/sqlite\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#listItem\",\"name\":\"PHP\\u3068SQLite\\u3067\\u7c21\\u6613BBS\\u306e\\u4f5c\\u6210\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database#listItem\",\"name\":\"\\u30c7\\u30fc\\u30bf\\u30d9\\u30fc\\u30b9\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#listItem\",\"position\":4,\"name\":\"PHP\\u3068SQLite\\u3067\\u7c21\\u6613BBS\\u306e\\u4f5c\\u6210\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/category\\\/database\\\/sqlite#listItem\",\"name\":\"SQLite\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\",\"name\":\"taitan\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916\",\"name\":\"taitan\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#webpage\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923\",\"name\":\"PHP\\u3068SQLite\\u3067\\u7c21\\u6613BBS\\u306e\\u4f5c\\u6210 | \\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"PHP\\u3068SQLite\\u306e\\u7df4\\u7fd2\\u3067\\u7c21\\u6613\\u63b2\\u793a\\u677f\\u3092\\u4f5c\\u3063\\u305f\\u306e\\u3067\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/author\\\/taitan916#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/wp-content\\\/uploads\\\/2015\\\/02\\\/1422186794_sqliteicon.png\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923\\\/#mainImage\",\"width\":300,\"height\":300},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/archives\\\/1923#mainImage\"},\"datePublished\":\"2014-09-12T17:17:14+09:00\",\"dateModified\":\"2024-04-18T15:27:50+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/\",\"name\":\"\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\",\"description\":\"Web\\u30a8\\u30f3\\u30b8\\u30cb\\u30a2 \\\/ \\u30d7\\u30ed\\u30b0\\u30e9\\u30de\\u304c\\u52c9\\u5f37\\u3057\\u305f\\u3053\\u3068\\u306e\\u30e1\\u30e2\\u3002\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/taitan916.info\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002","canonical_url":"https:\/\/taitan916.info\/blog\/archives\/1923","robots":"max-image-preview:large","keywords":"php,sqlite","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/taitan916.info\/blog\/archives\/1923#article","name":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","headline":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210","author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png","width":300,"height":300},"datePublished":"2014-09-12T17:17:14+09:00","dateModified":"2024-04-18T15:27:50+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/1923#webpage"},"isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/archives\/1923#webpage"},"articleSection":"PHP, SQLite"},{"@type":"BreadcrumbList","@id":"https:\/\/taitan916.info\/blog\/archives\/1923#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/taitan916.info\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/database#listItem","name":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/database#listItem","position":2,"name":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9","item":"https:\/\/taitan916.info\/blog\/archives\/category\/database","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/database\/sqlite#listItem","name":"SQLite"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog#listItem","name":"\u30db\u30fc\u30e0"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/database\/sqlite#listItem","position":3,"name":"SQLite","item":"https:\/\/taitan916.info\/blog\/archives\/category\/database\/sqlite","nextItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/1923#listItem","name":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210"},"previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/database#listItem","name":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9"}},{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/1923#listItem","position":4,"name":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210","previousItem":{"@type":"ListItem","@id":"https:\/\/taitan916.info\/blog\/archives\/category\/database\/sqlite#listItem","name":"SQLite"}}]},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/#person","name":"taitan"},{"@type":"Person","@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author","url":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916","name":"taitan"},{"@type":"WebPage","@id":"https:\/\/taitan916.info\/blog\/archives\/1923#webpage","url":"https:\/\/taitan916.info\/blog\/archives\/1923","name":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/taitan916.info\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/taitan916.info\/blog\/archives\/1923#breadcrumblist"},"author":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"creator":{"@id":"https:\/\/taitan916.info\/blog\/archives\/author\/taitan916#author"},"image":{"@type":"ImageObject","url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png","@id":"https:\/\/taitan916.info\/blog\/archives\/1923\/#mainImage","width":300,"height":300},"primaryImageOfPage":{"@id":"https:\/\/taitan916.info\/blog\/archives\/1923#mainImage"},"datePublished":"2014-09-12T17:17:14+09:00","dateModified":"2024-04-18T15:27:50+09:00"},{"@type":"WebSite","@id":"https:\/\/taitan916.info\/blog\/#website","url":"https:\/\/taitan916.info\/blog\/","name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","description":"Web\u30a8\u30f3\u30b8\u30cb\u30a2 \/ \u30d7\u30ed\u30b0\u30e9\u30de\u304c\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2\u3002","inLanguage":"ja","publisher":{"@id":"https:\/\/taitan916.info\/blog\/#person"}}]},"og:locale":"ja_JP","og:site_name":"\u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:type":"article","og:title":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","og:description":"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002","og:url":"https:\/\/taitan916.info\/blog\/archives\/1923","og:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png","og:image:secure_url":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png","og:image:width":300,"og:image:height":300,"article:published_time":"2014-09-12T08:17:14+00:00","article:modified_time":"2024-04-18T06:27:50+00:00","twitter:card":"summary","twitter:title":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | \u52c9\u5f37\u3057\u305f\u3053\u3068\u306e\u30e1\u30e2","twitter:description":"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002","twitter:image":"https:\/\/taitan916.info\/blog\/wp-content\/uploads\/2015\/02\/1422186794_sqliteicon.png"},"aioseo_meta_data":{"post_id":"1923","title":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210 | #site_title","description":"PHP\u3068SQLite\u306e\u7df4\u7fd2\u3067\u7c21\u6613\u63b2\u793a\u677f\u3092\u4f5c\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002","keywords":[{"label":"php","value":"php"},{"label":"sqlite","value":"sqlite"}],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-03-11 05:16:53","updated":"2025-12-18 06:31:22","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\" title=\"\u30db\u30fc\u30e0\">\u30db\u30fc\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/database\" title=\"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\">\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/taitan916.info\/blog\/archives\/category\/database\/sqlite\" title=\"SQLite\">SQLite<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"\u30db\u30fc\u30e0","link":"https:\/\/taitan916.info\/blog"},{"label":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9","link":"https:\/\/taitan916.info\/blog\/archives\/category\/database"},{"label":"SQLite","link":"https:\/\/taitan916.info\/blog\/archives\/category\/database\/sqlite"},{"label":"PHP\u3068SQLite\u3067\u7c21\u6613BBS\u306e\u4f5c\u6210","link":"https:\/\/taitan916.info\/blog\/archives\/1923"}],"_links":{"self":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/1923","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/comments?post=1923"}],"version-history":[{"count":2,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/1923\/revisions"}],"predecessor-version":[{"id":5871,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/posts\/1923\/revisions\/5871"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media\/2297"}],"wp:attachment":[{"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/media?parent=1923"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/categories?post=1923"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/taitan916.info\/blog\/wp-json\/wp\/v2\/tags?post=1923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}