Jump to content

Form help


phpPrincess

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.
Link to comment
https://forums.phpfreaks.com/topic/10778-form-help/page/2/#findComment-40343
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
Link to comment
https://forums.phpfreaks.com/topic/10778-form-help/page/2/#findComment-40353
Share on other sites

Archived

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

×
×
  • 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.