title: <input type=TEXT value=$_POST['xx']> -> shows only first word of string as a value?
body: <p>Could you please tell me what am i doing wrong? I have a very simple PHP code:</p>
  
  <pre><code>&lt;?
  
  echo "&lt;form method=post action=test.php&gt;";
  
  if(isset($_POST['xx'])){
  
      $xx = $_POST['xx'];
      echo "&lt;input type=text name=xx value=$xx&gt;";
  
  }
  else{
  
      echo "&lt;input type=text name=xx&gt;";
  
  }
  
  echo "&lt;input type=submit name=submit value=save&gt;";
  echo "&lt;br /&gt;";
  var_dump($xx);
  
  
  ?&gt;
  </code></pre>
  
  <p>And when i send some string to 'xx', let' s say: - one two three - after sending it only first word of that string appears as a value - in that case it is "one".</p>
  
  <p>var_dump result is</p>
  
  <pre><code>var_dump($xx);
  string(13) "one two three"
  </code></pre>
  
  <p>It is even more strange when compared to result that i get on my notebook (with same XAMPP server) - in there i get only first letter of first word(!). Please tell me what to do about it as i have no idea... I tried input type text as well as textarea and that makes no difference.</p>
  
  <p>I tried to look for similar problem in here, but found nothing that could help.</p>