Programming Challenge |
[eluser]seanloving[/eluser]
Ho hum, a codeigniter weekend... @helmutbjorg - I made your shit function recursively more shitty. Thanks a lot for the starting point. Now it is possible to parse an arbitrary array of field names and create the page structure based on the names of the fields (hierarchical naming convention). This helps a new approach to templates I am developing. Code: function reformat($regions) additional credits: I lifted the function array_merge_recursive_distinct($format,$add) from http://www.php.net/manual/en/function.ar...ursive.php because the standard array_merge_recursive doesn't quite do the trick in PHP5.3 --SL |
Messages In This Thread |
Programming Challenge - by El Forum - 12-09-2009, 08:52 AM
Programming Challenge - by El Forum - 12-09-2009, 09:38 AM
Programming Challenge - by El Forum - 12-09-2009, 09:40 AM
Programming Challenge - by El Forum - 12-09-2009, 10:10 AM
Programming Challenge - by El Forum - 12-09-2009, 02:43 PM
Programming Challenge - by El Forum - 12-09-2009, 03:06 PM
Programming Challenge - by El Forum - 12-09-2009, 03:41 PM
Programming Challenge - by El Forum - 12-10-2009, 03:15 PM
Programming Challenge - by El Forum - 12-10-2009, 07:15 PM
Programming Challenge - by El Forum - 12-10-2009, 10:15 PM
Programming Challenge - by El Forum - 12-11-2009, 07:25 AM
Programming Challenge - by El Forum - 12-13-2009, 02:37 AM
|