title: Textbox value to php variable on textbox value change
body: <p>Ok. I have no understanding of jQuery or Javascript but need to do a simple task that may be quite simple.</p>
  
  <p>I have a user registration page and the form code is as follows:</p>
  
  <pre><code>&lt;form method="post" action="check.php"&gt;
      Minecraft Username:&lt;input type="text" name="user"&gt;
      Password:&lt;input type="password" name="pass"&gt;
      Password Again:&lt;input type="password" name="passConfirm"&gt;
      &lt;input type="submit" value="Login" id="buttonLogin"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>Ok. So what i want to do is make it so when the 'Minecraft Username' field has changed, it will update a variable. Here is what i need, if someone could write and explain the code.</p>
  
  <p>On the textbox value change, it will set the value to a php variable called $registerUsername and that variable is used in an img...</p>
  
  <pre><code>&lt;img src="https://minotar.net/helm/&lt;?php echo $registerUsername ?&gt;/20.png"&gt;
  </code></pre>
  
  <p>Thanks alot. :D</p>
  
  <p>EDIT:
  I want it to change in real time, not after a post.</p>