Skip to content

Fix typos #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $router->get('/', function() {
});
```

<p> For getting parameters follow bellow example: </p>
<p> For getting parameters follow below example: </p>

```php
<?php
Expand All @@ -31,11 +31,11 @@ $router->get('/:name', function($param) {
<p> For example, when I use this url "yourdomin.com/afgprogrammer" I will get following output.</p>

```
wellcome afgprogrammer
Welcome afgprogrammer
```

<p> It's just a Piece of cake :) </p>
<p> If you want to send the POST requests follow bellow example: </p>
<p> If you want to send the POST requests follow below example: </p>

```php

Expand All @@ -46,9 +46,9 @@ $router->post('/:name', function($param) {
```
<h2> Database Connection </h2>

> <p> Consider that for useing database you should edit config.php file before start useing database.</p>
> <p> Consider that for using database you should edit config.php file before start using database.</p>

<p> For getting a database connection, you can use bellow sample in Model directory: </p>
<p> For getting a database connection, you can use below sample in Model directory: </p>

```php
<?php
Expand All @@ -62,10 +62,10 @@ class ModelsHome extends Model {

/*
$query->row : return 1 row
$qurty->rows : return all rows
$qurty->num_rows : return rows count
$query->rows : return all rows
$query->num_rows : return rows count
*/
return $qurty->rows;
return $query->rows;
}
}
```