PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
i have one more question, if i have a $var that is an array of strings like the one down, how can i select "name" for example with this: $var['name'] , and if i use this: $var[0]['name'] the result will be the same ?
It's not possible to have both of those references be the same unless for some reason you add an element that refers to the array again.. which is silly.
This means that you should be able to reference the value of the 'name' index with $array['name'].
PS Given the size of the strings (11) it looks like they are coming out of a database field with a CHAR(11) type. You may want to take note of that, just in case later you plan to do string length comparisons.