The code shown there goes like this:
Code: Select all
$replacements = array(
"joe@bloggs.com" => array("{name}" => "Joe", "{weather}" => "chilly"),
"fred@perry.com" => array("{name}" => "Fred", "{weather}" => "muggy")
);
So I'm trying something like this, but it's not working:
Code: Select all
$replacements = array(
"joe@bloggs.com" => array("{name}" => "Joe", "{weather}" => "chilly")
);
// .....................
$replacements[] = "fred@perry.com" => array("{name}" => "Fred", "{weather}" => "muggy");