arrays question
| From: | cybermalandro cybermalandro | Date: | Fri, 11 Nov 2005 20:25:41 +0000 |
| Subject: | arrays question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-225644@lists.php.net to get a copy of this message | ||
I have this that looks like this
array(3) {
[0]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
}
[1]=>
array(2) {
[0]=>
string(3) "492"
[1]=>
string(3) "211"
}
[2]=>
array(2) {
[0]=>
string(2) "11"
[1]=>
string(2) "20"
}
}
I want to loop through so I can get and print "1","492","11" and
"2","211","20" What is the best way to do this? I suck with arrays and
I can't get my looping right.
Thanks for your help anybody!