From a470727859a822c24754142544c6c520e34457bd Mon Sep 17 00:00:00 2001 From: Indieteq Date: Tue, 13 Nov 2012 22:17:29 +0100 Subject: Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7d6a8bc..38242b5 100644 --- a/README.md +++ b/README.md @@ -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 Create(); // SQL Equivalent "INSERT INTO persons (Firstname,Age,Sex) VALUES ('Kona','20','F')" ``` -#### Deleting a record +#### Deleting a person ```php