Foreign good things really much, now paste on a access Class! _php Tutorials

Source: Internet
Author: User
This is the class for access
Class accessdbm
{
var $COUNT = 0;
var $VALUES = array ();
var $FILE = "";
var $ERROR = "";
var $EXISTS = false;
var $STATIC = false;
var $EXACT = false;
var $DBM;
Older version of PHP can ' t do the ' new ClassName (args) '
Use Initilize () If this is the case.
// *******************************************************
function accessdbm ($dbmFile, $static = 0)
{
Global $php _errormsg;
if (!empty ($dbmFile))
{
if (file_exists ($dbmFile))
{
$this->exists = true;
}
if ($static! = 0)
{
$this->static = true;
}
$this->file = $dbmFile;
}
Return
}
// *******************************************************
Identical to ACCESSDBM
function Initialize ($dbmFile, $static = 0)
{
Global $php _errormsg;

http://www.bkjia.com/PHPjc/631825.html www.bkjia.com true http://www.bkjia.com/PHPjc/631825.html techarticle is this the class for access? Class accessdbm {var $COUNT = 0, var $VALUES = array (), var $FILE =; var $ERROR =; var $EXISTS = false; var $STATIC = f Alse; var $EXACT = false; var $DBM; //...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.