socialbutterfly
asked on
Event date change color using minical
I posted a question about the php and got an answer that seemed to work. But upon further review, it only works for the current month. It gives this error when I click on to another month.
Warning in_array()[; Wrong datatype for second argument in ... on line 181
Can anyone help?
minical-home.php
Warning in_array()[; Wrong datatype for second argument in ... on line 181
Can anyone help?
minical-home.php
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
echo $adj."<td ";
if (in_array($i,$activedays))
{ echo 'class=today-event ';
}
if (($i == date('d')) && ($m ==date('m'))){
echo "class=today";
}
echo " width='25px'>$thedate</td>