I'm Alex, from sunny London. Been working with PHP for a while, on and off, but am completely self-taught when it comes to coding, so always value the advice of those with more experience/training/talent in the area than myself.
With that in mind, I'm currently doing this:
Code: Select all
$item = explode(" ", $string);
$item = $item[0];
Cheers,
a|x