multiarray
| From: | Konference | Date: | Wed, 05 Mar 2003 10:49:48 +0000 |
| Subject: | multiarray | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-138248@lists.php.net to get a copy of this message | ||
Hi all,
i have o question, is there some solution how to make from multi-array
no-multi-array? :)
i need to make from multi-array this array:
$pole[] => "gk"
$pole[] => "gk-ati"
$pole[] => "gk-nvi"
$pole[] => "gk-mat"
thank you for all advices!
multi-array:
-----------
array(2) {
["code"]=>
string(2) "gk"
["sub"]=>
array(3) {
[0]=>
array(2) {
["code"]=>
string(6) "gk-ati"
["sub"]=>
NULL
}
[1]=>
array(2) {
["code"]=>
string(6) "gk-nvi"
["sub"]=>
NULL
}
[2]=>
array(2) {
["code"]=>
string(6) "gk-mat"
["sub"]=>
NULL
}
}
}
jiri.nemec at menea.cz
http://www.menea.cz
ICQ: 114651500