[Typo3-dev] Saving form in DB

media.res | alex widschwendter a.widschwendter at mediares.at
Wed Jul 6 11:40:06 CEST 2005


hi,

> thanks a lot but I do have got another question:
> 
> I have got a form with a textarea, 2 textfields and a submit button. How do
> I get the values into the
> $saveFEUsers['text1'] = ...??....

ever done some programming before????

expected your textareas name is. tx_yourext_pi1[text1]

you get die post/get vars of your extension this way:
$this->vars = t3lib_div::GPvar('tx_yourext_pi1');

$data2save['text1'] = $this->vars['text1']

have fun

alex




More information about the TYPO3-dev mailing list