<?php
$mail = $_POST['mail '];
$password = $_POST['password '];
$hellou = ' Привет ';
echo "$mail ";
echo " $password ";
echo "$hellou";
?>
$(function() {
$.ajax({
url: "doform.php",
type: "POST",
data: {
mail: mail
password: password
}
});
});
$mail = $_POST['mail '];
$password = $_POST['password '];
$mail = $_POST['mail'];
$password = $_POST['password'];