PHP Form
PHP Form
html
<html>
<head>
</head>
<body>
<div class="contact-form">
">
<br>
<br>
</body>
</html>
2.Ndertojme Style.css
body {
margin: 0;
padding: 0;
text-align: center;
background-size: cover;
background-position: center;
font-family: sans-serif;
.contact-title
margin-top: 100px;
color: #fff ;
text-transform: uppercase;
.contact-title h1 {
font-size; 32px;
line-height: 10px;
.contact-title h2 {
font-size; 16px;
Form
margin-top: 50px;
.form-control
{
width: 600px;
background: transparent;
border: none;
outline: none;
color: #fff ;
font-size; 18px;
margin-bottom: 16px;
Input
height: 45px;
form .submit
Background: #ff5722;
Border-color: transparent;
color: #fff ;
font-size; 20px;
font-weight; bold;
letter-spacing: 2px;
height: 50px;
margin-top: 20px;
form .submit:hover
background-color: #f44336;
cursor: pointer;
}
3. Forma-kontaktit.php
$name = $_POST['name'] ;
$visitor_email = $_POST['email'] ;
$message = $_POST['message'] ;
$to = hdshdgd@gmail.com;
mail($to,$email_subject,$email_body,$headers)