title: How to get PHP echo value in html, so it is the same as other inputs?
body: <p>i will just present my example, because i dont know how to explain it thurrow. </p>
  
  <p>Here is a html code with javascript, that calculates the numbers between themselves: <a href="http://jsbin.com/OJOlARe/1/edit?html,js,output" rel="nofollow">http://jsbin.com/OJOlARe/1/edit?html,js,output</a></p>
  
  <p>What i want to do, is replace the "input id="box2" " with the result i get with this code in PHP.</p>
  
  <pre><code>&lt;?php
  
  $url = "https://btc-e.com/api/3/ticker/btc_usd";
  $decode = json_decode(file_get_contents($url), true);
  $price = $decode["btc_usd"]["last"];
  
  
  echo $price;
  ?&gt;
  </code></pre>
  
  <p>So i will input a value i want in box 1, the box2 will automaticly have the value of "echo $price" and the result will calculate these two between themselves.</p>
  
  <p>Thank you very much for your help and efforts.</p>