Hello,

I've been reading and doing some experiments with TT2 for a few days 
now, but haven't seen any examples of form subission. How it's done? 
Like there is a form with one text field and i want to add this value to 
MySQL dbase:

<form method="post" action="index.tt2">
   <input type="text" name="answer">
   <input type="submit">
</form>

In EmbPerl this answer is stored in $fdat{answer}, in PHP it would be 
just $answer (AFAIK) but how about it TT2??

Rgds,
Viljo



Reply via email to