mam taki problem ...
[xml:1:a1f1b1f14d]
<?xml version="1.0"?>
<menu>
<level-0 name='Home' title='Back to home page' id='0' class='linkHome'></level-0>
<level-0 name='Offer' title='Chceck out our offer' url='?mode=offer&action=catalog'>
<level-1 name='Rules' title='Our Rules' id='2'></level-1>
</level-0>
<level-0 name='Account' title='Account Options' url='?mode=user&action=main'></level-0>
<level-1 name='Log In' title='Log in to store' url='?mode=user&action=login'></level-1>
<level-1 name='Log Off' title='Log Off when You done' url='?mode=user&action=logoff'></level-1>
<level-1 name='Create' title='Create account' url='?mode=user&action=create'></level-1>
<level-1 name='Activate' title='Activate Your Account' url='?mode=user&action=activ'></level-1>
<level-1 name='Veriffy' title='Veriffy Acount to gain HUGE discount' url='?mode=user&action=ver'></level-1>
<leve-2 name='Phone' title='Veriffy by phone' url='?mode=user&action=ver&id=1'></level-2>
<leve-2 name='Mail' title='Veriffy by regular mail' url='mode?user&action=ver&id=2'></level->
</level-0>
</menu>
[/xml:1:a1f1b1f14d]
i teraz chce z tego otrzymac taka tabice:
[php:1:a1f1b1f14d]<?php
$nazwa[0][0]['name'] = 'Home';
$nazwa[0][0]['title'] = 'Back to home page';
$nazwa[0][0]['id'] = 0;
$nazwa[0][0]['class'] = 'linkHome';
$nazwa[1][0]['name'] = 'Offer';
$nazwa[1][0]['title'] = 'Chceck out our offer';
$nazwa[1][0]['url'] = '?mode=offer&action=catalog';
$nazwa[2][1]['name'] = 'Rules';
$nazwa[2][1]['title'] = 'Our Rules';
$nazwa[2][1]['id'] = 2;
?>[/php:1:a1f1b1f14d]
czyli:
[php:1:a1f1b1f14d]<?php
$nazwa[id][level][wlasciwosc] = 'wartosc';
?>[/php:1:a1f1b1f14d]
czytalem manual i probowalem dostosowac funkcje z przykladu ale nie dalem rady, poza tym tam sa same skomplikowane funkcjce i przyklady a ja potrzebuje taka prosta funkcje ... zeby wywolana zwracala mi to do zmiennej taka tablice ... czy to sie da zrobic bez wielkiej ilosci kodu

cya