Click to See Complete Forum and Search --> : array["A"]=B;
gert cuykens
01-17-2006, 01:01 PM
array["A"]=B;
how can i check the array name of a array ?
for example if array name equals A do something with B ?
gert cuykens
01-17-2006, 01:04 PM
note that this array[$A]=B; is not what i am looking for because $A depends on the array structure , i have to know the name of the array , thename print_r outputs ?
LiLcRaZyFuZzY
01-17-2006, 01:04 PM
here you might wanna read this: http://www.php.net/manual/en/language.types.array.php
gert cuykens
01-17-2006, 01:27 PM
array_keys() :D
bokeh
01-17-2006, 01:34 PM
Vocabulary: $array['key'] = 'value';
Do you mean how does one access the key? If so you need to post some relevant code so it is possible to see the best way for that code.