From 02c24c6056e2191be4152e7af48ee58aaf9178fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aim=C3=A9=20Angelo=20Kezimana?= Date: Fri, 22 Jan 2021 09:40:26 +0200 Subject: [PATCH] Fix typos --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7037da8..228c0df 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ $router->get('/', function() { }); ``` -

For getting parameters follow bellow example:

+

For getting parameters follow below example:

```php get('/:name', function($param) {

For example, when I use this url "yourdomin.com/afgprogrammer" I will get following output.

``` -wellcome afgprogrammer +Welcome afgprogrammer ```

It's just a Piece of cake :)

-

If you want to send the POST requests follow bellow example:

+

If you want to send the POST requests follow below example:

```php @@ -46,9 +46,9 @@ $router->post('/:name', function($param) { ```

Database Connection

->

Consider that for useing database you should edit config.php file before start useing database.

+>

Consider that for using database you should edit config.php file before start using database.

-

For getting a database connection, you can use bellow sample in Model directory:

+

For getting a database connection, you can use below sample in Model directory:

```php 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; } } ```