im confused - and google has made me more confused.
i have a array and would like to return the value of the cells in a row that match a certian critera.
so lets say my $array looks like this
array(2) {
[0]=> array(2) {
["id"]=> string(7) "100"
["name"]=> string(2) "joe" }
[1]=> array(2) {
["id"]=> string(7) "101"
["name"]=> string(2) "mike" } }
I want to get the value of name for a certain id… how can i do that? iknow this is not the right syntax but i want to
print "NAME 101 =".$array[id=101];