title: Auto fill city after typing in zip code
body: <p>I need to auto fill fill the CITY: form when typing in the zip code,
  it says "undefiened variable: array on line.." where value="&lt; ? php $array['navn']  "> </p>
  
  <p>can someone help ? </p>
  
  <p><a href="http://i62.tinypic.com/hv5fkl.jpg" rel="nofollow">http://i62.tinypic.com/hv5fkl.jpg</a></p>
  
  <pre><code>&lt;div id="search"&gt;
                          &lt;form name="input" action="" method="get"&gt;
                              POST:&lt;input type="text" name="postcode"&gt;&lt;br&gt;&lt;br&gt;
                              City:&lt;input type="text" name="navn" value="&lt;?php $array['navn'] ?&gt;"&gt;&lt;br&gt;&lt;br&gt;
                              &lt;input type="submit" value="search"&gt;
                          &lt;/form&gt; 
                      &lt;/div&gt;
  
  
                      &lt;/div&gt;
  
                     &lt;?php
                          if(isset($_GET['postcode'])){
  
  
                          $postcode = $_GET['postcode'];
  
                          $content = file_get_contents('http://oiorest.dk/danmark/postdistrikter/'. $postcode . '.json');
  
                          $array = json_decode($content, true);
  
  
                              echo $array['navn'];
                              echo "&lt;br&gt;";
  
  
                          }
                      ?&gt;
  </code></pre>