How do i do this?

I have tried using the array_push function without sucess and when i try
this :

$stack[]['id'] = $menuArray[$rowID]['id'];
$stack[]['parentId'] = $menuArray[$rowID]['parentId'];
$stack[]['name'] = $menuArray[$rowID]['name'];A

obviously the array's internal pointer will increment and it will write to
the next element.

I suppose i could use prev() (could I?) but surely there has to be a
better way ;)

Thanks.

        Nick.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to