title: PHP Script not searching
body: <p>I am not sure what I am doing wrong but the script is not working properly. I have checked walmart.com code and <code>name="query"</code> is correct. I am not sure about the part in <code>&lt;script&gt;&lt;/script&gt;</code></p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;script&gt;
  window.onload=function() {
    document.forms[0].q.focus();
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form name="searchForm" action="http://www.walmart.com/search" target="bframe"&gt;
  &lt;input type="text" name="query" value="" /&gt;
  &lt;input type="submit"&gt;
  
  &lt;/form&gt;
  &lt;iframe name="bframe" src="about:blank" width="100%" height="100%"&gt;&lt;/iframe&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>