i tried something like this
but does not work :-)
<html>
<head>
<title>title</title>
</head>
<body>
<?
include("connect.php");
include("includes/header.inc");
include("includes/login.php");
$email1 = 'xxxx@xx.nl';
$email2 = 'yyyy@yyy.com';
$var = 'text';
?>
<center>
<form name="tstest" method="POST" action="/cgi-bin/mutatiehr.pl" target = "_self">
<input type="hidden" name="bgcolor" value="#FFFFFF">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,REMOTE_USER,HTTP_USER_AGENT">
<input type="hidden" name="recipient"
value=
<?php
if(isset($_POST['storingsmelding']))
{
echo $email1;
}
elseif(isset($_POST['test']))
{
echo $email2;
}
else
{
echo $var;
} ;?>>
<input type="hidden" name="" value="">
<input type="hidden" name="subject" value="Telefoniestoring">
<input type="hidden" name="email" value=<?php echo $row["strEmail"];?>>
<table>
<tr>
<td><strong>Storing:</strong></td>
<td><textarea rows="6" name="storingsmelding" cols="40"></textarea></td>
</tr>
<tr>
<td><strong>Storing:</strong></td>
<td><textarea rows="6" name="test" cols="40"></textarea></td>
</tr>
</table>
</br>
</br>
<div id="divButtons" name="divButtons">
<input type="button" value = "Print" onclick="printPage()">
<input type="submit" value="Versturen" name="submit"></p>
</form>
</center>
</body>
</html>