PHP and splitting a string?

evachick156

New member
I have the following string
$string = "Flower (roses)";

I have the following code:
$type = split("(", $string);
echo "This is type " . $type;


But i am not getting a value and out of $string i just want "roses" without the brackets. Help
 
Back
Top