爱问知识人 爱问教育 医院库

PHP连ORACLE的类文件是怎样的?

首页

PHP连ORACLE的类文件是怎样的?

PHP连ORACLE的类文件是怎样的?

提交回答

全部答案

    2017-07-27 15:58:52
  •   Link_ID ) {
    if($this->Debug) {
    printf("Connecting to $this->Database。。。\n");
    }
    $this->Link_ID=OCILogon("$this->User","$this->Password");
    if (!$this->Link_ID) {
    $this->halt("Link-ID == false " 。
       "($this->Link_ID), OCILogon failed"); } if($this->Debug) { printf("Obtained the Link_ID: $this->Link_ID\n"); } } } function query($Query_String) { if($Query_String=="") { echo "执行语句不能为空!"; return false; } $this->connect(); $this->Parse=OCIParse($this->Link_ID,$Query_String); if(!$this->Parse) { $this->Error=OCIError($this->Parse); } else { OCIExecute($this->Parse); $this->Error=OCIError($this->Parse); } $this->Row=0; if($this->Debug) { printf("Debug: query = %s\n", $Query_String); } if ($this->Error["code"]!=1403 && $this->Error["code"]!=0 && $this->sqoe) echo ""。
      $this->Error["message"]。"Query :\"$Query_String\""; $numRow=OCIRowCount($this->Parse); return $this->Parse; }。

    姜***

    2017-07-27 15:58:52

类似问题

  • 系统软件 相关知识

  • 电脑网络技术
  • 电脑网络

相关推荐

正在加载...
最新问答 推荐信息 热门专题 热点推荐
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200

热点检索

  • 1-20
  • 21-40
  • 41-60
  • 61-80
  • 81-100
  • 101-120
  • 121-140
  • 141-160
  • 161-180
  • 181-200
返回
顶部
帮助 意见
反馈

确定举报此问题

举报原因(必选):