{"provider_url":"https://hatena.blog","width":"100%","type":"rich","categories":["PHP","\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af"],"height":"190","description":"\u30b3\u30e1\u30f3\u30c8\u3092\u3082\u3089\u3063\u305f\u306e\u3067preview\u7248\u3092\u898b\u3066\u307f\u308b\u3002 \u4f7f\u3044\u65b9\uff08\u304b\u306a\u308a\u63a8\u6e2c\uff09 // create table emp(id int, name char(32)); class emp extends LiveRecord { function emp($pdo){ parent::__construct($pdo); } } $emp = new emp(new PDO($dsn)); // PDO\u3068\u30c6\u30fc\u30d6\u30eb\u540d\uff08emp\uff09\u304c\u683c\u7d0d\u3055\u308c\u308b $emp->id = 1; $emp->name = '\u306a\u307e\u3048'; // LiveRecordParameter\u306b\u5024\u304c\u683c\u7d0d\u3055\u308c\u308b $emp->insert(/* \u30aa\u2026","version":"1.0","url":"https://n314.hatenablog.com/entry/20061206/1165380968","author_url":"https://blog.hatena.ne.jp/n314/","title":" xFramework\u306eLiveRecord","published":"2006-12-06 13:56:08","author_name":"n314","image_url":null,"blog_title":"\u30ed\u30b0\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fn314.hatenablog.com%2Fentry%2F20061206%2F1165380968\" title=\" xFramework\u306eLiveRecord - \u30ed\u30b0\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://n314.hatenablog.com/","provider_name":"Hatena Blog"}