Repository: predictionio-sdk-php Updated Branches: refs/heads/master dad2f3b99 -> b06a20cc6
Wrong variable Should be $response instead of $rec. Project: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-php/repo Commit: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-php/commit/a1496eb0 Tree: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-php/tree/a1496eb0 Diff: http://git-wip-us.apache.org/repos/asf/predictionio-sdk-php/diff/a1496eb0 Branch: refs/heads/master Commit: a1496eb087db7eb7b2413c1937910a2a4e546f49 Parents: 830e478 Author: Yvan <[email protected]> Authored: Wed May 25 18:34:22 2016 +0200 Committer: Yvan <[email protected]> Committed: Wed May 25 18:34:22 2016 +0200 ---------------------------------------------------------------------- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/predictionio-sdk-php/blob/a1496eb0/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 9165c9b..c6d99c1 100644 --- a/README.md +++ b/README.md @@ -122,5 +122,5 @@ Retrieving Prediction Result $engineClient = new EngineClient('http://localhost:8000'); $response = $engineClient->sendQuery(array('uid'=>7, 'iids'=>array(1,2,3,4,5))); -print_r($rec); +print_r($response); ```
