I have a region called Wedding Dates where my client who is a photographer can enter dates that are already booked. Multiple entries are enabled.
The id of the items is booked_date
I want to store these in an array on a php page and then search this array to see if a particular date is contained in it.
I can output the dates to the page and they output in the format yyyy-mm-dd
When I search through the array, I can't seem to get a match. This is the code I am using. Can anyone tell me where I am going wrong please?