Post
Topic
Board Project Development
Merits 2 from 1 user
Topic OP
My code is wrong and I cant figure it out :-\
by
The_Trader
on 07/03/2022, 16:18:50 UTC
⭐ Merited by Husires (2)
I know this is the BTC section but their is not similar for altcoin and as everything is derived from BTC I presume the answer would be the same so here I am  Grin

I am trying to display information from my vps wallet onto my php webpage, I have spent 2 days googling but to no avail, perhaps some one here could laugh at my code and correct it - or - suggest a better way to achieve what I am looking for.


   
Code:
  require_once 'jsonRPCClient.php';
 
  $bitcoin = new jsonRPCClient('http://xxxxxxxx:xxxxxxxxxxxxxxxxxxxxxx@176.31.183.107:27772/');
   
  echo "<pre>\n";
  print_r($bitcoin->getbalance());
  echo "</pre>";



Many thanks