很强啊,呵呵~!你用过postgreSQL??

解决方案 »

  1.   

    是啊,我现在就在用postgreSQL!!
    怎么样?来点鸡蛋,共同提高PHP程序员的实力是我的愿望。
      

  2.   

    扔个鸽子蛋...<?php
    define(DB_HOST,"");
    define(DB_NAME,"");
    define(DB_USER,"");
    define(DB_PASS,"");class DB {

    var $Host = DB_HOST;
    var $Database = DB_NAME;
    var $User = DB_USER;
    var $Password = DB_PASS;
    var $Link_ID = 0;
    var $Query_ID = 0; function Halt($msg){

    echo $msg;
    exit;

    }

    function Connect(){

    if($this->Link_ID == 0){

    $this->Link_ID = mysql_pconnect($this->Host,$this->User,$this->Password);
    mysql_select_db($this->Database,$this->Link_ID);

    }

    }

    function Close(){

    if($this->Link_ID != 0){

    mysql_close($this->Link_ID);

    }

    }

    function Query($sql){

    if($this->Link_ID == 0){

    $this->Connect();

    }

    $this->Query_ID = mysql_query($sql,$this->Link_ID);
    return $this->Query_ID;

    }

    function NextRecord(){

    $this->Record = array();
    $this->Record = mysql_fetch_array($this->Query_ID);
    return $this->Record;

    } function NumRows(){

    $NumRows = mysql_num_rows($this->Query_ID);
    return $NumRows;

    }


    }?>
      

  3.   

    谁那里还有烂西红柿?
    IPMAN还加什么啊!你的论坛更新了没有啊?
    怎么在你的网站上就是没法找到啊?
    登记了邮件地址一直没有发过来!