lj11 Posted August 8, 2008 Share Posted August 8, 2008 if I have: <?php $cell=array(0=>array('r1','c1','b1'),1=>array('r1','c2','b1'),2=>array('r1','c2','b2')) ?> is there a way to call for all the keys who's array contains a value 'c2'? Link to comment https://forums.phpfreaks.com/topic/118732-array-key-matching/ Share on other sites More sharing options...
Third_Degree Posted August 8, 2008 Share Posted August 8, 2008 foreach Link to comment https://forums.phpfreaks.com/topic/118732-array-key-matching/#findComment-611321 Share on other sites More sharing options...
lj11 Posted August 8, 2008 Author Share Posted August 8, 2008 I thought about that, but I think there is a faster way to do it., thx Link to comment https://forums.phpfreaks.com/topic/118732-array-key-matching/#findComment-611322 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.