Re: [PHP] after submitting, working with data on same page

2004-07-09 Thread Matt M.
>: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

Re: [PHP] after submitting, working with data on same page

2004-07-09 Thread Daniel Guerrier
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