Skip to content

Commit a470727

Browse files
author
Indieteq
committed
Update README.md
1 parent bb3c298 commit a470727

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,10 @@ if($insert > 0 ) {
128128
EasyCRUD
129129
============================
130130
The easyCRUD is a class which you can use to easily execute basic SQL operations like(insert, update, select, delete) on your database.
131-
132131
It uses the database class I've created to execute the SQL queries.
133132

133+
Actually it's just a little ORM class.
134+
134135
## How to use easyCRUD
135136
#### 1. First, create a new class. Then require the easyCRUD class.
136137
#### 2. Extend your class and add the following fields to the class.
@@ -149,9 +150,9 @@ class YourClass Extends Crud {
149150
}
150151
```
151152

152-
## Some examples of easyCRUD in action.
153+
## EasyCRUD in action.
153154

154-
#### Creating a record
155+
#### Creating a new person
155156
```php
156157
<?php
157158
// First we"ll have create the instance of the class
@@ -170,7 +171,7 @@ $created = person->Create();
170171
// SQL Equivalent
171172
"INSERT INTO persons (Firstname,Age,Sex) VALUES ('Kona','20','F')"
172173
```
173-
#### Deleting a record
174+
#### Deleting a person
174175
```php
175176
<?php
176177
// Delete person

0 commit comments

Comments
 (0)