Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xtgxiso authored Nov 9, 2017
1 parent f444aa1 commit fdf89c6
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 @@ -147,7 +147,7 @@ $app->HandleFunc("/redis",function() use($app,$config){
//mysql示例
$app->HandleFunc("/mysql",function() use($app,$config){
$db = Mdb::getInstance($config["db"]);
$list = $db->query("select * from test")->fetch_all(MYSQLI_ASSOC);
$list = $db->query("select * from test")->result_array();
$app->ServerJson($list);
});

Expand Down

0 comments on commit fdf89c6

Please sign in to comment.