I have a var that looks like the following
"line1 line2 line3 line2 line4 line5";
Now I need to be able to convert this to an array in order to use things like the array_unique, sort...etc.
Any help?
All Done
$MyArray = array(); // Make Array $MyArray= split("\n", $newphrase); // Do the split $MyArray= array_unique($MyArray); // Remove Douplicets