>:if ($calcentry) {...}part of my code and do some calculations with
php and mysql >and put my output into textarea2.
if ($_POST['calcentry'] == 'Calc Your Entry') {
}
is one way to do it
>So my first question is how do I keep the data in textarea1 so when I
perform my >submit I can do some calc
You have the data in the $_POST global.
So submit it to _self as you already have and
if $_POST['calcentry'] is present and not null then do
your calculation
then set the value of the sencond textarea to the
result.
--- "Hull, Douglas D" <[EMAIL PROTECTED]> wrote:
> I have my two html textarea fi
I have my two html textarea fields followed by these two buttons.
I have textarea1 to type words into. I have textarea2 for my results. I have people
type words in textarea1 and after hitting the "calcentry" button I want to reload the
same page, go into my:
if ($calcen
3 matches
Mail list logo