By: gmak
Date: 2004-02-18
Time: 01:32
|
multi-dimensional array
Hi,
I have an array ($errors) of the form:
[0] => Array ( [field] => name [value] =>something [msg] => Please enter a name )
[1] => Array ( [field] => email [value] =>else [msg] => You must provide an email address )
In my php, I have merged the block with:
$TBS->MergeBlock("errs",$errors);
My problem is that I can't figure out how to define a block so that I can display the err.msg values. Normally, I'd expect that I could simply call:
[errs.msg;block=tr]
But, everything I try results in nothing being displayed.
What's the correct syntax for this form of multi-dimensional array?
|