Forum

Hi Kenny, 

You can simplify it by just defining a variable to start.

$template_id = "USER-SIGNUP". $_REQUEST['countrylang'];
print "\$template_id = $template_id\n"; // debug

See if you can get that printing the expected value first, then add it to your function call: ed

'template_id' => $template_id, 

Let me know if that works for you.

Dave Edis - Senior Developer
interactivetools.com

Thank you Dave,
That did the trick, 

$template_id = "USER-SIGNUP". $_REQUEST['countrylang'],
'template_id' => $template_id,

It would be great were you guys to come up with a multilingual plugin.

cheers

Kenny