Hello,
I would like to create an easy to code web form. Could anyone help me? I just need it for like feedback etc. Would it be possible for it to send the data to an e-mail address?
Thankyou for your help,
~Matt :-)
Probably dozens of Members here could help, I can't.
Here is a sub-Forum at my home Forum PCPitstop where they work on Websites and coding all day long.
You might want to post there, or just lurk around and see what you can pick up from reading other posts.
You'll also be able to "Search" the Forum for similar questions. http://forums.pcpitstop.com/index.php?showforum=27
This is the code for a form that will email the info to me at my email addy… just make sure to pay attention when you copy and paste it and change the parts that need changing… or ill be getting emails i dont want.
Thankyou Crow. Is there anyway to get it so your mail program window doesn't show up or is there another code that doesn't need to use the persons mail program?
~Matt :-)
Web layouts can be created on simple programs like photoshop if you are good enough you can find someone to code the layout you have created, if you are making a site which you want people to be able to login you need to use a simple php script.
Looking at crows code, you can edit that as much as you want changing the email, finding a basic html layout is like your first car, you can do it up as much as you want.
Some how id say im off topic but thats me random
Hello Braiden,
Thanks for your added contributions. What you may not have been aware of when posting to this thread is that the last post before yours occurred about a year and a half ago. I'm sure if the OP was still in need of a solution, your recommendations would have been well-noted, but I would imagine he isn't still seeking assistance on the original inquiry. Don't worry about it though, it happens to the best of us. I just wouldn't want your time to be spent compiling well-written posts that the OP may never come back to read ;).
Regards,
Ax
Any form using the Mailto: will pull up the local mail program.
If you want to send server based email I suggest using a server that has PHP functionality and or paying for hosting on a server that provides it.
Here is the sample code that uses the PHP function mail()
Send Email from a PHP Script Example
The first argument to this function is the recipient, the second specifies the message's subject and the third one should contain the body. So to send a simple sample message, we could use:
$to = "[removed]";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
if (mail($to, $subject, $body)) {
echo("
Message successfully sent!
");
} else {
echo("
Message delivery failed…
");
}
?>
That's it!
Once you have the basics of sending mail through PHP you can integrate it into HTML based forms as you have already used with the Mailto: setting
Here is a link to a good tutorial http://www.thesitewizard.com/archive/feedbackphp.shtml
✨ Ask AI
AI can make mistakes. Check the cited posts. Archived advice can be out-of-date
Don't include personal information. Questions and selected public posts go to OpenAI. About Ask AI