@@ -19,7 +19,7 @@ $router->get('/', function() {
1919});
2020```
2121
22- <p > For getting parameters follow bellow example: </p >
22+ <p > For getting parameters follow below example: </p >
2323
2424``` php
2525<?php
@@ -31,11 +31,11 @@ $router->get('/:name', function($param) {
3131<p > For example, when I use this url "yourdomin.com/afgprogrammer" I will get following output.</p >
3232
3333```
34- wellcome afgprogrammer
34+ Welcome afgprogrammer
3535```
3636
3737<p > It's just a Piece of cake :) </p >
38- <p > If you want to send the POST requests follow bellow example: </p >
38+ <p > If you want to send the POST requests follow below example: </p >
3939
4040``` php
4141
@@ -46,9 +46,9 @@ $router->post('/:name', function($param) {
4646```
4747<h2 > Database Connection </h2 >
4848
49- > <p > Consider that for useing database you should edit config.php file before start useing database.</p >
49+ > <p > Consider that for using database you should edit config.php file before start using database.</p >
5050
51- <p > For getting a database connection, you can use bellow sample in Model directory: </p >
51+ <p > For getting a database connection, you can use below sample in Model directory: </p >
5252
5353``` php
5454<?php
@@ -62,10 +62,10 @@ class ModelsHome extends Model {
6262
6363 /*
6464 $query->row : return 1 row
65- $qurty ->rows : return all rows
66- $qurty ->num_rows : return rows count
65+ $query ->rows : return all rows
66+ $query ->num_rows : return rows count
6767 */
68- return $qurty ->rows;
68+ return $query ->rows;
6969 }
7070}
7171```
0 commit comments