Well,
assuming that your text-boxes are within a form, i'd say something like this:
<form name="form" method="post" action="checkbox.php">
<textarea name="textarea1"></textarea>
<textarea name="textarea2"></textarea>
</form>
In the 'checkbox.php' you could check which variable holds data. Something like:
if (!empty($textarea1)) {
your code here;
} else {
if (!empty($textarea2)) {
next code here;
}
}
where (!empty($variable)) is checking if the variable is not empty.
you can reverse that by taking away the '!'.
There are many ways to check, 'switch' for instance is one of them. go see www.php.net
thefisherman