Skip to content

Commit 2daefa5

Browse files
committed
Fix typo & improve readability for README.md
1 parent df9efea commit 2daefa5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
DataTables server-side for CodeIgniter, supported both for CodeIgniter 3 and CodeIgniter 4.
44

5-
**Note:** This library only handle the server-side part, you still needs to configure a client side like jQuery, DataTables library and including the styles.
5+
**Note:** This library only handle the server-side part, you still needs to configure the client side like jQuery, DataTables library and including the styles.
66

77
## Requirements
88

@@ -62,7 +62,7 @@ $datatables->generate(); // done
6262

6363
You must include the jQuery and DataTables library.
6464

65-
```php
65+
```html
6666
<link src="https://cdn.datatables.net/1.11.5/css/jquery.dataTables.min.css">
6767

6868
<table id="table-post">
@@ -101,7 +101,7 @@ $datatables->asObject()
101101

102102
And then you can configure the client side with columns option to fit your data.
103103

104-
```php
104+
```js
105105
$('#table-post').DataTable({
106106
processing: true,
107107
serverSide: true,

0 commit comments

Comments
 (0)