diff options
author | Indieteq <admin@indieteq.com> | 2012-11-13 22:17:29 +0100 |
---|---|---|
committer | Indieteq <admin@indieteq.com> | 2012-11-13 22:17:29 +0100 |
commit | a470727859a822c24754142544c6c520e34457bd (patch) | |
tree | da3bb182ca0ba45c9cc17dedccbdb14a61dd557e /README.md | |
parent | bb3c29891957171d61b936032c2d402d93347720 (diff) | |
download | php-mysql-pdo-database-class-a470727859a822c24754142544c6c520e34457bd.zip php-mysql-pdo-database-class-a470727859a822c24754142544c6c520e34457bd.tar.gz php-mysql-pdo-database-class-a470727859a822c24754142544c6c520e34457bd.tar.bz2 |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -128,9 +128,10 @@ if($insert > 0 ) { EasyCRUD ============================ The easyCRUD is a class which you can use to easily execute basic SQL operations like(insert, update, select, delete) on your database. - It uses the database class I've created to execute the SQL queries. +Actually it's just a little ORM class. + ## How to use easyCRUD #### 1. First, create a new class. Then require the easyCRUD class. #### 2. Extend your class and add the following fields to the class. @@ -149,9 +150,9 @@ class YourClass Extends Crud { } ``` -## Some examples of easyCRUD in action. +## EasyCRUD in action. -#### Creating a record +#### Creating a new person ```php <?php // First we"ll have create the instance of the class @@ -170,7 +171,7 @@ $created = person->Create(); // SQL Equivalent "INSERT INTO persons (Firstname,Age,Sex) VALUES ('Kona','20','F')" ``` -#### Deleting a record +#### Deleting a person ```php <?php // Delete person |