Hi all,
I am trying to split a sting by whitespace into an array I can do this no problem in ASP by my PHP is a bit slack.
function extractdate($myrow) {
$datearray = array();
$datearray = split(' ',$myrow);
return($datearray);
}
*/
this should return an array
Monday
28
January
/*
$myrow = "Monday 28 January"
can anyone see where I am going wrong.
Thanks all in advance.