>: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 calculations on it etc? Then how can I place my results >into textarea2. <textarea name="textarea1"><?php echo htmlentities($_POST['textarea1']);?></textarea> <textarea name="textarea2"><?php echo $yourcalculatedvariable;?></textarea> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php