I need to get the first three words of a sentance and dont really know how...
I made the sentance into an array, but it seemed to be a long way around...
eg:
$string = "this is my test page";
I want the string to then be
$string = "this is my"
will it effect the code if there is only say one word?? eg:
$string = "david"
?? I just am clueless with this one!! thanks for any advice...