Hello I am back with more questions because I still suck.
So I have two arrays. $dates_arr which contains a numerical date for each row in my database within a certain month. Ie it could be something like =>4 =>21. That would mean there was a post on the 4th and 21st. Duh.
I also have a $thismonth array that spits out every day of a particular month in an array. So it’s something like =1 =2 =3 … =30. Awesome!
Then later on I have $thismonth spit out an unordered list with a foreach. What I want to do, somehow, is compare these two arrays so that when there are matching values it puts out an li with a different class name or something. Doesn’t matter what it does, I can figure that out, just needs to somehow compare like that.
Any ideas? I am really awful with arrays, so this is more or less killing me.