Using the 'in' operator with multi dimensional arrays
Hi all, I am working on an events system and want to use multi dimensional arrays but that standard "in" operator doesn't work like that, how else would I be able to check if the event name is correct?
PHP Code:
temp.array = { { "test", "30", "30" }, { "event", "30", "30" } }; if (eventName in temp.array) {}
__________________
Quote:
Originally Posted by GULTHEX
so i think the problem is that onactionclientside isint a real function