Quote:
Originally Posted by JumpD
That's what the function "construct_phrase() is for.
|
Okay, I tried this but can't make it go!
- I created a phrase named "histtd_msg". The phrase reads "My variable is {1}. Yes it is!"
- In my php file, I have:
PHP Code:
$myvar = "Hello World";
$vbphrase['histtd_msg'] = construct_phrase($vbphrase['histtd_msg'],$myvar);
eval(print_standard_redirect('histtd_msg', true, true));
- When the redirect is called, the phrase in the redirect window reads: "My variable is %1. Yes it is!"
:cross-eyed: