Hi,
I'm trying to determine if a match, or matches exist within an array based on a pattern,
an example of the array:
Array
(
[author_id] => 1
[channel_id] => 1
[site_id] => 1
[entry_id] => 6
[url_title] => test_title_with_file2
[title] => Test Title with file
[field_id_1_directory] => 1
[field_id_4_directory] => 1
[submit] => Submit
[entry_date] => 1278219110
)
I'd like to identify that the field_id_x_directory key, or keys exist, and if they do, loop over each one and run a function that would use the 'x' as a variable.
Many thanks,
Iain.