Open michaelsomerville opened 6 years ago
I am having the same issue. The output itself printing on the page instead to return to variable. Is there any one who can help quickly.
Thanks in advance for your help Subikar
same issue, has anyone found a solution?
Curl automatically prints output, add the following on line 35: curl_setopt($l_curl, CURLOPT_RETURNTRANSFER, TRUE);
before: $l_curlResult = curl_exec($l_curl);
to return it as an array.
Awesome thanks! On Wed, 10 Jan 2018 at 15:12, Maurice Aarts notifications@github.com wrote:
Curl automatically returns output, add the following on line 35: curl_setopt($l_curl, CURLOPT_RETURNTRANSFER, TRUE);
before: $l_curlResult = curl_exec($l_curl);
to return it as an array.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iamlouisdoyle/PHP-Bittrex-API-Wrapper/issues/1#issuecomment-356519030, or mute the thread https://github.com/notifications/unsubscribe-auth/Ahpdkn-P5F2JlsD2IxisIR5VRPfgpanRks5tJGLJgaJpZM4Q0JBy .
Hey! I might be having a brain fart here, but why the heck is the code auto echoing ?
$bittrex = new Bittrex(YOUR_API_KEY, YOUR_API_SECRET); $markets = $bittrex->GetMarkets();
I am trying to save it to a mysql, but the code keeps echoing to the dam page. lol thoughts ?