Skip to content

DB Manager Class for MySQL with Active Record (but still limited) just like CodeIgniter Active Record. I use this DB Manager in several of my PHP projects.

Notifications You must be signed in to change notification settings

henbow/MySQL-DB-Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MySQL-DB-Manager

DB Manager for MySQL with Active Record (but still limited). I use this DB Manager in several of my PHP projects.

How to use it:

Select data:

<?php
include '../libs/DBActiveRecord.php';

$db = new DB_active_record();

// Use get() method to select data from database $db->get('cds'); $data1 = $db->result_array();

// Using chainable method $data2 = $db->get('cds')->result_array();

print '<pre>'; print_r($data1); print_r($data2); print '</pre>';

About

DB Manager Class for MySQL with Active Record (but still limited) just like CodeIgniter Active Record. I use this DB Manager in several of my PHP projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages