Letterbomb05 Posted November 9, 2008 Share Posted November 9, 2008 Hi, heres my problem, I have an array like this: $switchboard['call'][$from] = $to; Array ( [call] => Array ( [#chan2] => #chan1 ) ) simple enough, now I can check to see if #chan1 to if is in the array simply by using this: array_search('#chan1',$array) now this is all fine and dandy, but how do I then check to see if #chan2 is present? now, that isn't all of it, if I then find out that #Chan2 is present, how do I then find out that it is asociated with #chan1, and if i find out #chan1 is present, how do i find out that it is asociated with #chan2? Thanks in advance for any help Link to comment https://forums.phpfreaks.com/topic/132004-solved-help-with-extracting-data-from-arrays/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.