title: Trying to echo a string in a search box
body: <p>I am trying to <code>echo</code> a string in a search box. However so far it only <em><code>echos</code></em> the first word of the string.</p>
  
  <pre><code>require 'search.php';
  $searchQuery = $_GET['searchText'] ;
  echo $searchQuery;//prints "this is a test"
  $search = new Search();
  $search-&gt;run($searchQuery);
  .
  .
  &lt;input name="searchText" type="text" id="searchText" size=70 value = &lt;?php echo $searchQuery; // prints "this"?&gt; /&gt;
  </code></pre>