public static function addSlashesOnArray(array &$theArray) {
		foreach ($theArray as &$value) {
			if (is_array($value)) {
				self::addSlashesOnArray($value);
			} else {
				$value = addslashes($value);
			}
		}
		unset($value);
		reset($theArray);
	}
public static function addSlashesOnArray(array &$theArray) {
		foreach ($theArray as &$value) {
			if (is_array($value)) {
				self::addSlashesOnArray($value);
			} else {
				$value = addslashes($value);
			}
		}
		unset($value);
		reset($theArray);
	}
public static function addSlashesOnArray ( array & $ theArray ) { foreach ( $ theArray as & $ value ) { if ( is_array ( $ value ) ) { self :: addSlashesOnArray ( $ value ) ; } else { $ value = addslashes ( $ value ) ; } } unset ( $ value ) ; reset ( $ theArray ) ; }
AddSlash array
This function traverses a multidimensional array and adds slashes to the values.
NOTE that the input array is and argument by reference.!!
Twin-function to stripSlashesOnArray

@param array $theArray Multidimensional input array, (REFERENCE!)
@return array
AddSlash array This function traverses a multidimensional array and adds slashes to the values . NOTE that the input array is and argument by reference . !! Twin - function to stripSlashesOnArray