revray
02-24-2008, 05:43 AM
Evening,
I am trying to echo a form that is listed below, the form appears in my page, but when I press submit, nothing happens. Can anyone give me guidance on what step I am missing?
//below this is the function for no record!!
if (!$variable1)
{
echo "<p> Great news! Jeff is available. Please fill out the form below to contact Jeff about booking your date. Please note, your date IS NOT booked yet, it simply is available. Make sure to fill out this form so Jeff can get back to you.</p>";
echo('<form action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST">');
echo('<input type="hidden" name="recipient" value="pray@wburgnaz.com"><br>');
echo('<input type="hidden" name="subject" value="Wedding Booking Inquiry"></p><br>');
echo(' <p>Full Name: <input type="text" size="20" name="name" ></p><br>');
echo(' <p>Phone Number: <input type="text" size="20" name="phone"></p><br>');
echo(' <p>Email Address: <input type="text" size="20" name="email"></p><br>');
echo(' <p>Wedding Date: <input type="text" size="20" name="weddate"></p><br>');
echo(' <p><input name="Submit" type="button" value="Submit" class="button" /></p>');
echo('</form>');
}
//end
?>
I am trying to echo a form that is listed below, the form appears in my page, but when I press submit, nothing happens. Can anyone give me guidance on what step I am missing?
//below this is the function for no record!!
if (!$variable1)
{
echo "<p> Great news! Jeff is available. Please fill out the form below to contact Jeff about booking your date. Please note, your date IS NOT booked yet, it simply is available. Make sure to fill out this form so Jeff can get back to you.</p>";
echo('<form action="http://formmail.dreamhost.com/cgi-bin/formmail.cgi" method="POST">');
echo('<input type="hidden" name="recipient" value="pray@wburgnaz.com"><br>');
echo('<input type="hidden" name="subject" value="Wedding Booking Inquiry"></p><br>');
echo(' <p>Full Name: <input type="text" size="20" name="name" ></p><br>');
echo(' <p>Phone Number: <input type="text" size="20" name="phone"></p><br>');
echo(' <p>Email Address: <input type="text" size="20" name="email"></p><br>');
echo(' <p>Wedding Date: <input type="text" size="20" name="weddate"></p><br>');
echo(' <p><input name="Submit" type="button" value="Submit" class="button" /></p>');
echo('</form>');
}
//end
?>