title: how i find relief from this error the error is undefined index: host in C:\wamp\www\serp-tracker\get_serps.php on line 42
body: <p>i'm getting output from this code but the server giving me an error </p>
  
  <blockquote>
    <p>Notice: Undefined index: host in
    "C:\wamp\www\serp-tracker\get_serps.php on line 42"</p>
  </blockquote>
  
  <p>any body can help me to provide me solution about this error </p>
  
  <pre><code>&lt;div class="form-group" &lt;input class="form-control" type="text" placeholder="host" &lt;?php if($_GET["host"]!=""){ echo 'value="'.$_GET["host"].'"';}else{ echo 'value="'.$myhost.'"'; }?&gt; name="host"&gt;
  &lt;/div&gt;
  </code></pre>