Hello
I am new to version 6. I have been using version5 and I am happy with it. Now I am upgrading my forms to version 6. I have to collect some data from a php array in my forms.
For Example : I have an array with cull names of countries. Like when I get a firm data from the filed like "TN" I need a full name of TN which is Tanzania. I normally use this in my email like this to fetch a full name from the dynamic array : echo ("\n {$country_full_name[$this->data['country'].''.'']}"); . How can I do it in Version 6 ?
Please help.
Thanks
Ron
I am new to version 6. I have been using version5 and I am happy with it. Now I am upgrading my forms to version 6. I have to collect some data from a php array in my forms.
For Example : I have an array with cull names of countries. Like when I get a firm data from the filed like "TN" I need a full name of TN which is Tanzania. I normally use this in my email like this to fetch a full name from the dynamic array : echo ("\n {$country_full_name[$this->data['country'].''.'']}"); . How can I do it in Version 6 ?
Please help.
Thanks
Ron
Exactly like that.
Well..... sorry use a PHP code block and return the value and use {var:phpblock} in your email.
Or use a Custom Code block set to return var only, and echo out the whole email you want, then just use {var:customcodeblockname}
Or use a Custom Code block set to return var only, and echo out the whole email you want, then just use {var:customcodeblockname}
Thanks for your reply healyhatman..
I tried what you said but could not reach anywhere closer to anything.. Could you please give me an example ?
Thanks for the help
Ron
I tried what you said but could not reach anywhere closer to anything.. Could you please give me an example ?
Thanks for the help
Ron
Sorry healyhatman...
I think I understood your reply. I am trying it out.. I had just made some errors.
Thanks again
Ron
I think I understood your reply. I am trying it out.. I had just made some errors.
Thanks again
Ron
Or use a Custom Code block set to return var only, and echo out the whole email you want.
How do I echo out, what code will I use in the email body ?
Please help
Ron
As in use normal html and PHP. In the email use {var:custom_code_block_name}
This topic is locked and no more replies can be posted.
