Peter
Hi, thanks a lot, that worked a treat.
Regards
Jeremy
Peter Hodge wrote:
Hi,
$string doesn't have any spaces in it, so after you do explode:
$string_arr=explode(" ",$string);
$string_arr only has one element in it ($string_arr[0]).
You are trying to access elements 0,1,2,3,4,5,6,7,8
Hi,
$string doesn't have any spaces in it, so after you do explode:
$string_arr=explode(" ",$string);
$string_arr only has one element in it ($string_arr[0]).
You are trying to access elements 0,1,2,3,4,5,6,7,8,9, but 1-9 don't exist when
there is no space character in $string.
You could chang