Jump to content

Archived

This topic is now archived and is closed to further replies.

phpPrincess

Form help

Recommended Posts

Damn, forgot. Change:

[code]if (empty($visitormail) || empty($notes)) {
   echo "<h2>Use Back - fill in all fields</h2>\n";
   $dontsend = true;
}[/code]

To:

[code]if (empty($visitormail) || empty($_POST['notes'])) {
   echo "<h2>Use Back - fill in all fields</h2>\n";
   $dontsend = true;
}[/code]

I also updated the entire script (other post) if you want to copy everything at once.

Share this post


Link to post
Share on other sites
But did you get the error message (Error sending mail)?
If not, there may be a problem with the server (and in this case you'd have little to do).

Or just wait a bit more, and also check Bulk/Spam folders.

Share this post


Link to post
Share on other sites
[!--quoteo(post=378488:date=May 30 2006, 03:33 PM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ May 30 2006, 03:33 PM) [snapback]378488[/snapback][/div][div class=\'quotemain\'][!--quotec--]
But did you get the error message (Error sending mail)?
If not, there may be a problem with the server (and in this case you'd have little to do).

Or just wait a bit more, and also check Bulk/Spam folders.
[/quote]

i got the error message

ok i wasnt gunna ask you, i was gunna figure it out by myself cause it doesnt sseem that hard but how can i get the questions on separate lines in the email i tryied <br> like crazy but nothing, just tell me where to put them

Share this post


Link to post
Share on other sites
well ihave a meeting to go to. thank you for being patience with me.
so i guess the problems now are

-no email
-and getting spaces in the results

-deep sigh- this stuff sucks

Share this post


Link to post
Share on other sites

×

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.