I have a php script that takes a persons full name as a string from a drop down menu, and is supposed to explode it on a space.
$fullName = $_GET["nameList"];
$nameArray = explode(" ", $fullName);
When I var_dump() the array, the entire string, with the space, is contained in the first element.
[0]=> string(11) "First Last"
I used ctype_print() to see if there are any non printable characters in the string that it would need to separate on instead of a space, but it's showing that all characters in the string are printable.