{"categories":["PHP","CodeIgniter"],"url":"https://kunitsuji.hatenadiary.org/entry/20080702/1214969365","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkunitsuji.hatenadiary.org%2Fentry%2F20080702%2F1214969365\" title=\"DB\u30af\u30e9\u30b9\u306e\u30e9\u30c3\u30d1\u30fc - KuniTsuji\u306ePHP\u958b\u767a\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>","provider_url":"https://hatena.blog","image_url":null,"blog_url":"https://kunitsuji.hatenadiary.org/","type":"rich","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/KuniTsuji/","height":"190","version":"1.0","description":"\u3082\u3068\u3082\u3068MyNETS\u306fPEAR::DB\u3092\u4f7f\u3063\u305f\u308a\u3057\u3066\u304a\u308a\u307e\u3057\u305f\u304c\uff08\u73fe\u5728\u306fMySQL\u30cd\u30a4\u30c6\u30a3\u30d6\u95a2\u6570\uff09\u3001 db_get_all\u3068\u304bdb_get_row\u3068\u304b\u3002 ADODB\u3067\u3082 GetAll,GetRow\u3068\u304b\u3042\u308a\u307e\u3057\u3066\u3001\u7d50\u69cb\u6163\u308c\u3066\u3044\u307e\u3059\u3002 CodeIgniter\u306eDB\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3046\u5834\u5408\u3001 $this->db->query($sql); \u3068\u3057\u305f\u5f8c\u306b $query->row(); $query->result(); \u3068\u304b\u3057\u3066\u7d50\u679c\u3092\u53d6\u308a\u51fa\u3057\u307e\u3059\u3002 \u3081\u3093\u3069\u304f\u3055\u304c\u308a\u5c4b\u306e\u81ea\u5206\u3068\u3057\u3066\u306f\u3001\u30e2\u30c7\u30eb\u3067\u4f59\u5206\u306b1\u884c\u66f8\u304d\u305f\u304f\u306a\u3044\u306e\u3067\u3001\u30e9\u30c3\u30d7\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u30e1\u30bd\u30c3\u30c9 getAll() getAllPage() getAllArr\u2026","blog_title":"KuniTsuji\u306ePHP\u958b\u767a\u65e5\u8a18","published":"2008-07-02 12:29:25","author_name":"KuniTsuji","title":"DB\u30af\u30e9\u30b9\u306e\u30e9\u30c3\u30d1\u30fc","width":"100%"}