i've got an assoc array with al my data in it, eg
nd is now Array(
[haddr] -> Array(
[post] ->Array (
[bedrijf] -> 'Company',
[address] -> 'Address',
)
)
[caddr] -> Array (
[post] -> Array (
[bedrijf] -> '2nd Company',
[address] -> 2nd address',
)
)
)
|
If i use MergeField, is can just use a ref like this in the template
MergeField ('nd', $nd) and the fields [nd.haddr.bedrijf] and [nd.caddr.address] will be properly filled in.
If i want to use a MergeBlock, i have to do it like this
MergeBlock('nd.haddr.post', array($nd[haddr][post])) which is a lot more cumbersome. I need this mergeBlock, to delete when an array field is empty, otherwise i could have used MergeField.
jef