title: unset( ) not working PHP
body: <p>I have tried many different ways but im not able to unset a variable from an array. I started with a string and exploded it to an array, now i want to remove Bill. Im i missing some thing? I have visited php.net and i, still stuck... </p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;title&gt;&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;?php
  
  
  $names = "Harry George Bill David Sam Jimmy";
  
  $Allname = explode(" ",$names);
  
  unset($Allname['Bill']);
  
  sort($Allname);
  
  $together = implode("," ,$Allname);
  
  echo "$together";
  ?&gt;
  &lt;/body&gt;
  &lt;/html&gt;   
  </code></pre>