CodeKit PHP Handle Creation

[PHP API] [Index] [Perl API] ## CodeKit PHP Handle Creation How to create a new PHP CodeKit access handle. #### new CodeKit()
    require_once('CodeKit.php');

    $codekit = new CodeKit($dbh, array(
                           'table' => 'ck_code'
                           )):
The new CodeKit() method returns a new CodeKit handle object. $dbh must be either a PEAR DB, ADODB, or a phplib database handle. If you plan to update the code table set it to autocommit mode. The optional 'table' parameter can be used to specify which of several physical code tables to use. The default is 'ck_code'. #### Database Connection Examples The best database connection example code to look at is in the php/ck_connect.inc file. [PHP API] [Index] [Perl API]