Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a simple ActiveRecord implementation for PHP 5.3.
Depends on:
* PHP 5.3.2
* PECL PDO
* MySQL 5+
Modify test.php to suite your local PHP install. The sample DB dump is provided as test.sql.
Expected output of test.php:
Array
(
[0] => Photo Object
(
[row:protected] => Array
(
[id] => 1
[user_id] => 1
)
)
)
User Object
(
[row:protected] => Array
(
[id] => 1
[user_name] => Love
)
)
Changes:
2010-10-29: Updated to work with PHP 5.3.2