View difference between Paste ID: xN49bc8s and tg8gF9gg
SHOW: | | - or go back to the newest paste.
1
# hasil eksekusi di browser
2
string(9) "O\'Reilly"
3
string(55) "SELECT * FROM comments WHERE comment LIKE '%O\'Reilly%'"
4
array(2) {
5
  ["id"]=>
6
  string(1) "1"
7
  ["comment"]=>
8-
}
8+
9
}
10
11
# cek langsung di mysql client
12
mysql> select * from comments;
13
+----+----------+
14
| id | comment  |
15
+----+----------+
16
|  1 | O'Reilly |
17
+----+----------+
18
1 row in set (0.00 sec)