By: Kroiner
Date: 2006-10-31
Time: 21:35
|
One more subblocks
Hi!
I need to create the follow structs:
group1 group1_values
group2 group1_key group2_values
group1_key group2_values
group3 group2_key group3_values
gropu2_key group3_values
The values of the group2 is the sons of the group1 and the values of the group3 is sons of the group2
Using the MergeBlock function i can't created this?
Thanks!
|
By: Olivier Loynet
Date: 2006-10-31
Time: 22:08
|
Re: One more subblocks
Hi,
I'm a little confused by your example.
For my own, I use rarely the subblock
I use headergrp and footergrp to merge data and make a different row from the all the rows to make a title different. I'm no sure that could be help you.
Olivier
|
By: Kroiner
Date: 2006-11-01
Time: 04:53
|
Re: One more subblocks
Ok!
Look this example of a result of the print_r function:
[0] => Array
(
[country] => Array
(
[Brasil] => Array
(
[UF] => Array
(
[São Paulo] => Array
(
[city] => Array
(
[0] => A
[1] => B
[2] => C
)
)
[Porto Alegre] => Array
(
[city] => Array
(
[0] => A
[1] => B
[2] => C
)
)
[Goiás] => Array
(
[city] => Array
(
[0] => A
[1] => B
[2] => C
)
)
)
)
[United States] => Array
(
[UF] => Array
(
[Texas] => Array
(
[city] => Array
(
[0] => A
[1] => B
[2] => C
)
)
[New York] => Array
(
[city] => Array
(
[0] => A
[1] => B
[2] => C
)
)
[Washington] => Array
(
[city] => Array
(
[0] => A
[1] => B
[2] => C
)
)
)
)
)
)
)
I would like to see in the openoffice file:
Brasil
São Paulo
A
B
C
Porto Alegre
A
B
C
Goiás
A
B
C
United States
Texas
A
B
C
New York
A
B
C
Washington
A
B
C
How it could make it?
|
|
Posting in progress.
Please wait...
|