Ok guys have got a mind block, lost it completley and wonder if anyone out there go throw me a line. So here goes.
I have got an array of information like this
What I am doing is using the explode to seperate the pipe delimited values whilst looping through the array
Ok Here is where either I am complltey over complicating things here or have just overlooked it.
$split = explode("|", $dates);
$date = $split;
What I want to achieve is to have an array for each $id with the $date(s) for that $id in their own arrays which will intail reside in if you like a master array.
Can anyone help. What I want to end up with is something like this:
The master array i want to refrence by the $id and its array values to be the dates.
array( = > "20-10-2009",  => "21-10-2009",  => "23-10-2009")
array( => " 24-10-2009",  => "25-10-2009")
I hope it make sense.