I have a serialize data with N data, and I want to select N-1 data. Example: i:38, i:39, i:41 data. I want to show i:38 and i:39 only. Also I want to show all data except first one. Example: i:38, i:39, i:41 data. I want to show i:39 and i:41 only. Any suggestion or help?
Here is my serialize data:
a:3:{
i:38;a:2{s:12:"arrival_hour";s:5:"05:30";s:14:"departure_hour";s:5:"05:40";}
i:39;a:2:{s:12:"arrival_hour";s:5:"05:45";s:14:"departure_hour";s:5:"05:00";}
i:41;a:2:{s:12:"arrival_hour";s:5:"06:10";s:14:"departure_hour";s:5:"07:35";}
}