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...
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<?php
$names = "Harry George Bill David Sam Jimmy";
$Allname = explode(" ",$names);
unset($Allname['Bill']);
sort($Allname);
$together = implode("," ,$Allname);
echo "$together";
?>
</body>
</html>