Background Image

FORUM

조회 수 12165 추천 수 0 댓글 2
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

도움말에서 아래의 위치의 소스 입니다. 이게 맞게 되어져 있는 건가요?
만약 틀리다면 확인 부탁합니다.
감사합니다.

홈  >  API 레퍼런스  >  PHP API  >  PHP 프로그래밍  >  일반 특징

카탈로그 연산

$attrs=cubrid_schema($con,CUBRID_SCH_ATTRIBUTE,"person");
if ($attrs != -1) {
   while (list ($key, $attr) = each($attrs)) {
       echo $row["NAME"];
       echo $row["DOMAIN"];
   }
}

  • ?
    시난 2009.06.16 03:56

    오류 발견해주셔서 감사합니다..
    다음과 같이 해보시면 될 것입니다.
    옛날 버전의 샘플인가 봅니다.. demodb 기준으로 하면 다음과 같습니다.

    <?
    $con = cubrid_connect ("127.0.0.1", 33000, "demodb");
    if ($con) {

     $attrs=cubrid_schema($con,CUBRID_SCH_ATTRIBUTE,"athlete");
     if ($attrs != -1) {
        while (list ($key, $attr) = each($attrs)) {
         echo $attr["ATTR_NAME"] . ": " .  $attr["DOMAIN"] . "<br />";
        }
     }
     cubrid_disconnect ($con);
    } else {
     echo "con error! <br />";
    }
    ?>

     

  • ?
    샤롱스판 2009.06.16 19:02
    위 이슈를 네이버개발자센터>CUBRID오픈소스프로젝트>이슈게시판에 등록하였습니다.
    http://dev.naver.com/projects/cubrid/issue?func=detail&aid=2861&group_id=15&atid=121&brow=all&start=0

  1. CUBRID 사용자를 위한 DBeaver 도구 출시 안내

    Date2024.04.23 Byadmin Views106488
    read more
  2. 테이블 생성이 안되네요..;;

    Date2009.09.14 By미야프 Views12185
    Read More
  3. 큐브리드2008의 DB로드/언로드 기능으로 마이그레이션 방법 문의

    Date2009.09.11 By고영진 Views13184
    Read More
  4. 큐브리드2008(윈도우용) 설치 완료시 재부팅 여부 확인 과정 필요

    Date2009.09.11 By고영진 Views14820
    Read More
  5. CentOS 5.3 64bit, cubird 2008 r2.0 설치오류문제

    Date2009.09.10 By비타500 Views13058
    Read More
  6. 큐브리드 2.0설치 XE 한글데이터값이 이상

    Date2009.09.10 By나루토 Views11448
    Read More
  7. PHP 로 큐브리드 사용중에 commit 부분이 안먹는거 같은데 도움좀 요청해요 ㅠ

    Date2009.09.10 Byaddbasic Views10877
    Read More
  8. 외래키 등록 오류

    Date2009.09.10 By단순미학 Views12387
    Read More
  9. cubrid_execute 혹은 cubrid_prepare API를 이용하여 PHP에서 insert 시 ...

    Date2009.09.09 By아장아장 Views11724
    Read More
  10. delete

    Date2009.09.09 By짱똘 Views11166
    Read More
  11. CUBRID 매니저 서버 연결 오류

    Date2009.09.09 By지용 Views13316
    Read More
  12. Manager 접속오류

    Date2009.09.09 By단순미학 Views14394
    Read More
  13. Your transaction (index 4, dba@LoveME|3952) has been unilaterally aborted by the system.큐브리드 로그파일도 같이 넣었어요..

    Date2009.09.08 By지니 Views30459
    Read More
  14. 기본적인 JDBC 응용 샘플 TEST에서

    Date2009.09.08 By지니 Views15686
    Read More
  15. asc, desc 기능 존재 여부와 sort 속도.

    Date2009.09.08 By아장아장 Views16960
    Read More
  16. MS-SQL을 CUBRID로 마이그레이션 하는 방법.

    Date2009.09.07 By후추 Views12522
    Read More
  17. 자바프로그램 연결 에러

    Date2009.09.07 By지니 Views16183
    Read More
  18. varchar의 최대길이가 어떻게 되나요?

    Date2009.09.07 By미스트 Views27382
    Read More
  19. 사용자 정의 타입 지원이 안되나요?

    Date2009.09.07 By단순미학 Views12013
    Read More
  20. 큐브리드매니저 2008 R2.0 데이터 올리기 기능 사용시 발생한 오류

    Date2009.09.06 By고영진 Views24867
    Read More
  21. 큐브리드와 powerDNS 연동

    Date2009.09.04 ByaliveJune Views14317
    Read More
Board Pagination Prev 1 ... 190 191 192 193 194 195 196 197 198 199 ... 211 Next
/ 211

Contact Cubrid

영업문의 070-4077-2112 / 기술문의 070-4077-2148 / 대표전화 070-4077-2110 / Email. contact_at_cubrid.com
Contact Sales