Here is a very simplified version of the code
Works fine in php3 (for years). But now in php5 it simply repeatedly displays the button
Does anyone have any idea what I need to do to make it work in php5?
<?php
if ($Sendemail)
{ echo "display appropriate info for customer";
}
else
{
// display a form that allows customer to fill in info, and click the email button that is called Sendemail
?>
<form name="form1" method="post" action="">
<input type="submit" name="Sendemail" value="Send Email">
</form>
<?php
}
?>