Categories

Updated: 01/26/2007

Array Merge And Replace

PHP provides a number of array merging functions but not one that does precisely this. What this will do is that it will add new values found in the new array if they don''t exist and update them if they do, performing this recursively if a sub-element of the new array is itself an array.
Similar Scripts for "Array Merge And Replace"

PHP Script Tips - PHP Built-in Functions for Arrays

A collection of 19 tips on PHP functions on arrays. Clear answers are provided with tutorial exercises on searching keys and values, sorting arrays, merging two arrays, looping on array elements, expanding and truncating arrays. Special topics are: ...

datLib

datLib contains Class Methods that help simplify common programming functions that PHP programmers use in their development process when building web based applications. These include calculating dates in different formats; server and user informatio...

FilTpl - Filnet Template

The script process recursively a template (given as a string) and a data structure (given as a tree of array of arrays). Syntax is the same as phplib , but behaves better on loops or optional blocks embedded. I developped it because I was tir...

SLLists - Scriptaculous Lists with PHP

A PHP-based wrapper around the scriptaculous javascript library that makes it trivial to add drag-and-drop sorting to lists or any other HTML element. Helper functions to take the result of sorting and return it in a simple PHP array to enable easy ...

PostIt

This is a small PHP script that takes an associative array and a URL. The array is URL-encoded and then POSTed to the URL. If the request succeeds, the response, if any, is returned in a scalar array. Outputting this is the caller''s responsibil...
©2003-2008 jCay.com