> So, if it is not in the array I wanted to give a message out. This > does not work for some reason, did I missunderstand the in_array > function? Any idea to achieve it otherwise?
yes. in_array should be used with a scalar array. you have got a multi- dimensional array (matrix in your case). try "foreach" as Cristian said. Best, ~IF. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
