Hello,
I have the following array:
Array
(
[2] => Champlain Valley TTC(1/31/2015)
[5] => Old Shelburne Town School5420 Shelburne RdSherburne, VT 05482
[6] => Friday - 6:30 - 10:00PM
[9] => Jack Devine802-877-3341
[10] => <-----NEXT_CLUB ----->
[13] => Green Mountain Table Tennis Club(GMTTC)(6/30/2014)
[16] => Knights of Columbus - Boys & Girls Club Gymnasium21 Merchants RowRutland, VT 05701
[17] => Wednesday - 6:00 - 10:00PM and 2 Fridays(6:00 - 10:00PM) & 2 Saturdays(7:00AM - 9:00PM) per year for tournaments(last Fri/Sat in March & Fri/Sat in Nov or Dec)
[20] => Ronald Lewis802-247-5913
[21] => <-----NEXT_CLUB ----->
[23] => Upper Valley Table Tennis Club(9/30/2014)
[27] => Marion Cross Elementary School Gym22 Church StNorwich, VT 05051
[28] => Wednesday - 7:00 - 9:15PM(During School Year)
[36] => Douglas Haynes603-643-2178
[37] => <-----NEXT_CLUB ----->
)
I would like to replace the int keys for every block of 4 with name key like so
Array
(
[cName] => Champlain Valley TTC(1/31/2015)
[local] => Old Shelburne Town School5420 Shelburne RdSherburne, VT 05482
[days_times] => Friday - 6:30 - 10:00PM
[contact] => Jack Devine802-877-3341
[marker] => <-----NEXT_CLUB ----->
[cName] => Green Mountain Table Tennis Club(GMTTC)(6/30/2014)
[local] => Knights of Columbus - Boys & Girls Club Gymnasium21 Merchants RowRutland, VT 05701
[days_time] => Wednesday - 6:00 - 10:00PM and 2 Fridays(6:00 - 10:00PM) & 2 Saturdays(7:00AM - 9:00PM) per year for tournaments(last Fri/Sat in March & Fri/Sat in Nov or Dec)
[contact] => Ronald Lewis802-247-5913
[marker] => <-----NEXT_CLUB ----->
[cName] => Upper Valley Table Tennis Club(9/30/2014)
[local] => Marion Cross Elementary School Gym22 Church StNorwich, VT 05051
[days_time] => Wednesday - 7:00 - 9:15PM(During School Year)
[contact] => Douglas Haynes603-643-2178
[marker] => <-----NEXT_CLUB ----->
)
I appreciate some thoughts on this