Skip to content

Commit 010b673

Browse files
committed
README updated
1 parent ac61488 commit 010b673

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Yazan - SQLToCIBuilder
2-
Adavanced SQL to Codeigniter Query Builder Converter written in PHP
2+
SQL to Codeigniter Query Builder, A Converter written in PHP
33

44
### Features
55
- Converts SQL Queries to Codeigniter Query Builder.
@@ -16,8 +16,8 @@ Adavanced SQL to Codeigniter Query Builder Converter written in PHP
1616
Live demo and free usage will be available soon.
1717

1818
### Get Started
19-
##### Install by manual download:
20-
Download the repository and install required packages by composer.json :
19+
##### Install by a manual download:
20+
Download the repository and install required packages by composer.json.
2121

2222
##### Packagist
2323
You can also install it from packagist by running the following command:
@@ -48,7 +48,6 @@ $this->db->countAll('members');
4848
##### A more complex example :
4949

5050
```php
51-
<?php
5251
$sql = "SELECT * FROM members WHERE age > 30
5352
OR (name LIKE 'J%' OR (surname='P' AND name IS NOT NULL)) AND AGE !=30";
5453
$converter->convert($sql);
@@ -78,10 +77,10 @@ Some important options are briefly explained below:
7877
| civ | integer | 3 | Your Codeigniter version. |
7978
| db_instance | string | $this->db | Object in which database was loaded and initialized. |
8079
| use_from | boolean | false | In CodeIgniter 3, wether it should use 'from' command instead of 'get' to select data from a table. |
81-
| group | boolean | true | Wether it should group key value pairs into a php array, or generate commands for each key value pair. |
80+
| group | boolean | true | Whether it should group key value pairs into a php array, or generate commands for each key value pair. |
8281
| single_line | boolean | true | When this argument is true, then converter tries to generate a single command instead of multiple. |
8382

84-
### How does it works?
83+
### How does it works ?
8584
Will be explained soon.
8685

8786
### Known issues

src/SQLToCIBuilder.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ public function __construct($options = null)
2424
*/
2525
public function convert($sql)
2626
{
27-
echo "<br>";
28-
echo "<br>";
2927
$this->sql = $sql;
3028
try {
3129

0 commit comments

Comments
 (0)