Jump to content

Recommended Posts

when you don't fill out name and email.. it says go back and fill out name and email... but there's not back button... how can I put one in?  I can't figure it out...  here's the code...:

 

I tried putting html in the page.. maybe bad idea...

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

 

<html>

<head>

<title>Untitled</title>

</head>

 

<body bgcolor="bed2ea"><font face=arial>

<?php

 

 

 

if (empty($_REQUEST['name']) || empty($_REQUEST['email']))

{

    print 'Please go back and Enter name and Email...';<html><a href="form.html">Back</a></html>

}

else

{

 

print "Thank you $name for registering to win!";

 

    $name = "Name: ".$_REQUEST['name']."\n"

    ."Email: ".$_REQUEST['email']."\n"

    ."Address: ".$_REQUEST['address']."\n"

    ."City: ".$_REQUEST['city']."\n"

    ."State: ".$_REQUEST['state']."\n"

    ."Zip: ".$_REQUEST['zip']."\n"

    ."How they heard about us: ".$_REQUEST['hear'];

 

    mail("kalcotter1@yahoo.com", "Someone Registered at BuyWithoutDebt", $name, "From: BuyWithoutDebt@register.com\r\nReply-To: noreply@bwd.com\r\n");

}

 

?>

 

</font>

</body>

</html>

 

you can see what I'm talking about here if you want..click on the red star:  http://www.continentalrto.com/buywithoutdebt/

thanks!!!!!!!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.