"; */ //初期処理 @$result = pg_exec($strSQL); if($result == false){ printf("code[02-001] SQL:\"$strSQL\"の実行に失敗しました。"); exit; } $aryResult = ""; if ( pg_numrows( $result ) != 1 ) { if($strMsg != ""){ printf("$strMsg"); exit; } }else{ $aryResult = pg_fetch_array($result,0,PGSQL_ASSOC); } return $aryResult; } ?>