{"categories":["SQL","PHP"],"title":"\u8a72\u5f53\u30c7\u30fc\u30bf\u304c\u7121\u304b\u3063\u305f\u3068\u304d\u5224\u5b9a\u306b\u306fpg_fetch_result()","width":"100%","blog_url":"https://blog.systemjp.net/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.systemjp.net%2Fentry%2F20110427%2Fp3\" title=\"\u8a72\u5f53\u30c7\u30fc\u30bf\u304c\u7121\u304b\u3063\u305f\u3068\u304d\u5224\u5b9a\u306b\u306fpg_fetch_result() - shikaku&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"provider_url":"https://hatena.blog","height":"190","provider_name":"Hatena Blog","published":"2011-04-27 00:00:04","blog_title":"shikaku's blog","url":"https://blog.systemjp.net/entry/20110427/p3","type":"rich","description":"\u7d50\u679c\u30ea\u30bd\u30fc\u30b9\u304b\u3089\u5024\u3092\u8fd4\u3059\u95a2\u6570\u306a\u3093\u3060\u3051\u3069\u3001\u3072\u3068\u3064\u3082\u30c7\u30fc\u30bf\u304c\u3068\u308c\u306a\u304b\u3063\u305f\u3089\u3001\u8a72\u5f53\u30c7\u30fc\u30bf\u7121\u3057\u3068\u5224\u65ad\u3067\u304d\u308b $res = pg_query($conid, $query) if (false == pg_fetch_result($res,0) ) { print '\u8a72\u5f53\u306e\u30c7\u30fc\u30bf\u306f\u3042\u308a\u307e\u305b\u3093'; exit; }\u89e3\u8aac http://php.net/manual/ja/function.pg-fetch-result.php pg_num_rows()\u3067\u3082\u3044\u3044\u307f\u305f\u3044\u3002 \u3053\u3061\u3089\u306f\u884c\u6570\u3092\u8fd4\u3059\u95a2\u6570\u3002 \u89e3\u8aac http://phpspot.net/php/man/php/function.pg-num-rows.h\u2026","author_url":"https://blog.hatena.ne.jp/shikaku/","version":"1.0","author_name":"shikaku"}