Email the details entered in a simple contact form | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Email the details entered in a simple contact form

Pls can any1 send me source code or references so that I can email the details entered in a contact form(Name, subject, description) <input type="text" class="form-control" id="exampleFormControlInput1" name="Username" placeholder="Optional"> <input type="email" class="form-control" id="exampleFormControlInput1" name="email" placeholder="Optional"> <input type="text" class="form-control" id="exampleFormControlInput1" name="subject" placeholder="Required"> <textarea class="form-control" id="exampleFormControlTextarea1" name="description" placeholder="Required" rows="3"></textarea> <input type="submit" value="Login" name="submit" class="login-button">

17th Oct 2019, 3:07 PM
Peter Stark
2 Answers
0
Hi, Kindly check the codes - https://code.sololearn.com/w0dzgonWP5O9/#php You need to create template for email named contact.html. Thanks.
18th Oct 2019, 12:44 PM
ANBARASAN R
ANBARASAN R - avatar
- 1
quân
18th Oct 2019, 9:42 AM
Long Quân
Long Quân - avatar