Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ratajs authored Dec 27, 2020
1 parent 979cd73 commit 2ce9427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Let’s have a table “<strong>users</strong>” with 5 columns: `uid`, `userna
//Connect with new Smysql($host, $user, $password[, $database])
$smysql = new Smysql("localhost", "root", "root", "db");

//To execute raw SQL query use $smysql->q($q[, $a]), FETCH_ALL returns array of rows, FETCH_OBJECT and FETCH_ARRAY return one row per call
//To execute raw SQL query use $smysql->q($q[, $a]), FETCH_ALL returns an array of rows, FETCH_OBJECT and FETCH_ARRAY return one row per call
$smysql->q("SELECT * FROM users")->fetch(SMQ::FETCH_ALL);

//You can use wildcards for escaping
Expand Down

0 comments on commit 2ce9427

Please sign in to comment.