If i have a string like this:
$myString = \"input/name/something\";
How can i get the name to be echoed? Every string look
If you only need "name"
list(, $name, ) = explode('/', $myString); echo "name is '$name'";
If you want all, then
list($input, $name, $something) = explode('/', $myString);