0

I have a Question I have rewritten and resubmitted my code for your approval any help would be appreciated !

The code name is wow. Any feedback will be appreciated !

22nd Dec 2016, 8:41 PM
Ronald Keith
7 Respuestas
+ 1
Not even sure where to start.... First off try it with this: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body bgcolor="#87CEFA"> <div id ="heading"> <h1> Ronald Keith 1 st' website </h1></div> <p>Welcome to all ! If you are reading this just know this if it were not for Sololearn you would not be ! </p> <h2>Links</h2> <a href ="http://www.sololearn.com">:This is an great place to get started on your way to codeing !</a> <hr> <a href ="http://www.sololearn.com/Blog">: Learn to code on line for free ! </a> <hr> <h1> <p class = Collaborate> Feel free to follow me on Sololearn or Sign up to Collaborate via email ! </p> </h1> <form action="#"> <input type="email" it="email" placeholder="rkeith474@gmail.com" /> <input type="Submit"/> </form> </body> </html> If you let me know what you try to archive more or less i can help you a bit more
22nd Dec 2016, 8:52 PM
Daniel Sattler
Daniel Sattler - avatar
22nd Dec 2016, 9:10 PM
Daniel Sattler
Daniel Sattler - avatar
0
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <html style="background-color:#87CEFA"style> <div style = "background-color: light sky blue;"> </div></style> <div id ="heading"> <p class = "heading"> Ronald Keith 1 st' website </p></div> <class ="paragraph">Welcome to all ! If you are reading this just know this if it were not for Sololearn you would not be ! </p></div></class> <h2>Links</h2> <a href ="http://www.sololearn.com">:This is an great place to get started on your way to codeing !</a> </h2> <hr> <a href ="http://www.sololearn.com/Blog">: Learn to code on line for free ! </a> </h2> <h1> <hr> <p class = Collaborate> Feel free to follow me on Sololearn or Sign up to Collaborate via email ! </p> </h1> <input id ="email" place holder> "rkeith474@gmail.com" "Submit" </input> </body> </html>
22nd Dec 2016, 8:42 PM
Ronald Keith
0
Submitted emails
22nd Dec 2016, 8:55 PM
Ronald Keith
0
Rename file to index.php <?php if(isset($_POST['submit'])){ $to = "rkeith474@gmail.com"; // <-- this is your Email address $from = $_POST['email']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $subject = "Form submission"; $subject2 = "Copy of your form submission"; $message = $first_name . " " . $last_name . " wrote the following:" . "\n\n" . $_POST['message']; $message2 = "Here is a copy of your message " . $first_name . "\n\n" . $_POST['message']; $headers = "From:" . $from; $headers2 = "From:" . $to; mail($to,$subject,$message,$headers); mail($from,$subject2,$message2,$headers2); echo "Mail Sent. Thank you " . $first_name . ", we will contact you shortly."; } ?> <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body bgcolor="#87CEFA"> <div id ="heading"> <h1> Ronald Keith 1 st' website </h1></div> <p>Welcome to all ! If you are reading this just know this if it were not for Sololearn you would not be ! </p> <h2>Links</h2> <a href ="http://www.sololearn.com">:This is an great place to get started on your way to codeing !</a> <hr> <a href ="http://www.sololearn.com/Blog">: Learn to code on line for free ! </a> <hr> <h1> <p class = Collaborate> Feel free to follow me on Sololearn or Sign up to Collaborate via email ! </p> </h1> <form action="" method="post"> <input type="text" placeholder="First Name" name="first_name"><br> <input type="text" placeholder="Last Name" name="last_name"><br> <input type="text" placeholder="Email"name="email"><br> <br><textarea rows="5" placeholder="Message" name="message" cols="30"></textarea><br> <input type="submit" name="submit" value="Submit"> </form> </body> </html>
22nd Dec 2016, 9:07 PM
Daniel Sattler
Daniel Sattler - avatar
0
Final question where does the entered information go ?
22nd Dec 2016, 9:37 PM
Ronald Keith
0
<?php if(isset($_POST['submit'])){ $to = "rkeith474@gmail.com"; // <-- this is your Email address $from = $_POST['email']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $subject = "Form submission"; $subject2 = "Copy of your form submission"; $message = $first_name . " " . $last_name . " wrote the following:" . "\n\n" . $_POST['message']; $message2 = "Here is a copy of your message " . $first_name . "\n\n" . $_POST['message']; $headers = "From:" . $from; $headers2 = "From:" . $to; mail($to,$subject,$message,$headers); mail($from,$subject2,$message2,$headers2); echo "Mail Sent. Thank you " . $first_name . ", we will contact you shortly."; } ?> <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body bgcolor="#87CEFA"> <div id ="heading"> <h1> Ronald Keith 1 st' website </h1></div> <p>Welcome to all ! If you are reading this just know this if it were not for Sololearn you would not be ! </p> <h2>Links</h2> <a href ="http://www.sololearn.com">:This is an great place to get started on your way to codeing !</a> <hr> <a href ="http://www.sololearn.com/Blog">: Learn to code on line for free ! </a> <hr> <h1> <p class = Collaborate> Feel free to follow me on Sololearn or Sign up to Collaborate via email ! </p> </h1> <form action="" method="post"> <input type="text" placeholder="First Name" name="first_name"><br> <input type="text" placeholder="Last Name" name="last_name"><br> <input type="text" placeholder="Email"name="email"><br> <br><textarea rows="5" placeholder="Message" name="message" cols="30"></textarea><br> <input type="submit" name="submit" value="Submit"> </form> </body> </html>
23rd Dec 2016, 1:21 AM
Ronald Keith