title: Is it possible to assign a php variable to a jquery var and then refresh that jquery variable
body: <p>Is it possible to assign a php variable to a jQuery variable and then use a function to refresh the jQuery var every 30 seconds?</p>
  
  <p>Also, could you use that variable in a html input?</p>
  
  <pre><code>&lt;input type="text" value="jquery value that will refresh every 30 seconds with PHP variable"&gt;
  </code></pre>
  
  <p>If this is possible how and where can you learn to do this?</p>