summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files 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
<?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