- function in_mdarray($needle,$array)
- {
- if (array_key_exists($needle,$array) or in_array($needle,$array))
- {
- return true;
- }
- else
- {
- $return = false;
- foreach (array_values($array) as $value)
- {
- if (is_array($value) and !$return)
- {
- $return = in_mdarray($needle,$value);
- }
- }
- return $return;
- }
- }
Hi Eshan,
ReplyDeleteCould you please contact me at james@affilipoint.com regarding a PHP Job based on CodeIgniter.
Many thanks
Regards
James