I use the PEAR package html_templates_it
I want to send the value of a textarea to another page: here is the code that I use:
<?PHP
$template = new HTML_Template_IT("templates");
$template->loadTemplatefile("sendLetter.tpl", true, true);
$template->setCurrentBlock("SENDLETTER");
$template->setCurrentBlock("LETTER");
$template->setVariable("ACTION", "confirmLetter.php");
$template->setVariable("CURRENTLETTER", "");
$template->parseCurrentBlock("LETTER");
$template->parseCurrentBlock("SENDLETTER");
$template->show( );
?>
The textarea contains the values that I want to send to to confirmLetter.php in CURRENTLETTER. I ptried the get() method but without any success, anyone that can help me?