≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
contact form
Posted by:
(you are not logged in)
Enter the missing letter in: "Inte?national"
(you are not logged in)
Text:
[quote][b]hennie[/b] wrote: I use the help to create a contact form. Everything works, but i do not get the emails. What do i wrong? I test it with a easy form. Use this form: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="generator" content="RocketCake"> <title></title> <link rel="stylesheet" type="text/css" href="contact_php.css"> </head> <body> <div class="textstyle1"> <form action="contact.php" enctype="application/x-www-form-urlencoded" method="POST" id="form_1fd9e86b"> <div id="form_1fd9e86b_padding" > <div class="textstyle1"> <span class="textstyle2">Naam: </span> <input type="text" value="" title="Vul je naam in." name="TextEdit1" id="edit_4bfff64d" > <span class="textstyle2"><br/><br/>Email: </span> <input type="text" value="" title="" name="TextEdit2" id="edit_365f079f" > <span class="textstyle2"><br/><br/><br/>Bericht:<br/></span> <input type="text" value="" title="" name="TextEdit3" id="edit_3a151bc" > <span class="textstyle2"><br/><br/></span> <input name="Button1" type="submit" value="Button Label" title="" id="button_63851a2" > </div> <div style="clear:both"></div> </div> </form> <div id="php_276db422"><?PHP $text = ""; foreach($_POST as $name => $value) { $text .= "$name : $value\n"; } if ($text != "") { echo 'Thanks for contacting us.'; mail("xxx@gmail.com", "Contact form request", $text); } ?></div> </div> </body> </html>[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact