My code is as follows:
Code: Select all
<?php
$amount = $_POST['amt'];
if ($amount >= 1) {
echo "
<p>Enter your email address if you would like to receive email forecasts directly from the Colorado Avalanche Information Center.</p>
<form action='' method='post'><table><tr><td>Your Email:</td><td><input name='email'></td></tr></table>
<input type='submit' value='send'></form>";
} else {
echo ("<p>Thank you for your donation of $amount.</p>");
}
?>
The problem is not with the form itself, but rather the communication of the variable "amt" working with the paypal $amount. I am a designer and have been banging my head
All and any help is much appreciated.