title: Display entered text with echo after input PHP
body: <p>I want to do something very simple. After a user enters text in an HTML text box then hits submit, the PHP echo's the entered text. I searched all over and I cant find out how to do it! There must be some way! I want something like this except <code>$foo</code> is what the entered text was. </p>
  
  <pre><code>&lt;html&gt;
  &lt;input type="text" name="something" value="$foo"/&gt;
  &lt;html&gt;
  &lt;?php
  echo $foo = "ben";
  echo "foo is $foo"; // foo is foobar
  
  
  ?&gt;
  </code></pre>