Edit : now i can fix this problem
$sendPayment = json_decode(file_get_contents("
https://blockchain.info/merchant/$ID/payment?password=$PW&to=
&address&amount=$amount
(Change & to $)-----------------------------------------------------------------------------------
Hi bitcointalk member.
i have some problem. i can't fixed
today i write cashout script. tx_hash don't show and not payment i don't know what wrong
![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
PHPCode:
$ID = "***********************";
$PW = "**************";
$sendPayment = json_decode(file_get_contents("https://blockchain.info/merchant/$ID/payment?password=$PW&to=&address&amount=$amount"), true);
$txID = "Transaction ID:" . $sendPayment[tx_hash];
$message = "Payment successfully send to ";
HTML IN BODY Code:<html>
<body>
<?php echo $message; echo $address; ?><br>
<?php echo $txID; ?><br>
<a href="logout.php">Logout</a>
</body>
</html>
Thank
![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif)