second
This commit is contained in:
parent
31a9f8776d
commit
6744d4e537
6
Information.txt
Normal file
6
Information.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
Билай Станислав Романович;Мужчина;2002-03-11;+79493761924;stasbilay02@yandex.ru;
|
||||||
|
Петров Петр Петрович;Мужчина;1234-12-12;+77777777777;jksghhsdkj@gmail.com;
|
||||||
|
Петров Петр Петрович;Мужчина;1234-02-23;+77777777777;jksghhsdkj@gmail.com;
|
||||||
|
Зайцева Анжела Игоревна;Мужчина;1999-05-05;+74444444444;aksjfhfka@mail.ru;
|
||||||
|
Билай Станислав Романович;Мужчина;1234-12-12;+79493761924;stasbilay02@yandex.ru;
|
||||||
|
Зайцева Анжела Игоревна;Мужчина;1234-12-12;+74444444444;aksjfhfka@mail.ru;
|
37
form.html
Normal file
37
form.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="ru">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<title>Form ФИО</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form action="src\info.php" target="_blank" method="post">
|
||||||
|
Фамилия: <br>
|
||||||
|
<input type = "text" name = "surname" required size="50" autofocus placeholder="Фамилия"> <br> <br>
|
||||||
|
Имя: <br>
|
||||||
|
<input type = "text" name = "name" required size="50" placeholder="Имя"> <br> <br>
|
||||||
|
Отчество (если есть): <br>
|
||||||
|
<input type = "text" name = "patronymic" size="50" placeholder="Отчество"> <br> <br>
|
||||||
|
|
||||||
|
Дата Рождения: <br>
|
||||||
|
<input type="date" name="DateOfBirth" required> <br> <br>
|
||||||
|
|
||||||
|
Ваш пол: <br>
|
||||||
|
<input type="radio" name="gender" value="Мужчина" checked> Мужчина
|
||||||
|
<input type="radio" name="gender" value="Женжина"> Женжина<br> <br>
|
||||||
|
|
||||||
|
Номер телефона (Например 1234567890): <br>
|
||||||
|
<select name="countryCode">
|
||||||
|
<option value="+7" >Russia +7</option>
|
||||||
|
<option value="+38">Ukraine +38</option>
|
||||||
|
</select>
|
||||||
|
<input type="tel" name="phoneNumber" pattern="[0-9]{10}" maxlength="10" required placeholder="1234567890"> <br> <br>
|
||||||
|
|
||||||
|
Email адрес: <br>
|
||||||
|
<input type="Email" name="email" required> <br><br>
|
||||||
|
|
||||||
|
<input type = "submit" value="Подтвердить">
|
||||||
|
<input type="reset">
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
1
functions.php
Normal file
1
functions.php
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?php
|
@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace src;
|
|
||||||
|
|
||||||
class Information
|
class Information
|
||||||
{
|
{
|
||||||
@ -20,9 +19,10 @@ class Information
|
|||||||
$this->phoneNumber = $phoneNumber;
|
$this->phoneNumber = $phoneNumber;
|
||||||
$this->email = $email;
|
$this->email = $email;
|
||||||
}
|
}
|
||||||
public function writeInformation()
|
|
||||||
|
public function fullInformation()
|
||||||
{
|
{
|
||||||
echo $this->foolName . ";" . $this->gender . ";" . $this->DateOfBirthday . ";" . $this->countryCode . $this->phoneNumber . ";" . $this->email . ";";
|
return $this->foolName . ";" . $this->gender . ";" . $this->DateOfBirthday . ";" . $this->countryCode . $this->phoneNumber . ";" . $this->email . ";";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
6
src/additionallyInfo.php
Normal file
6
src/additionallyInfo.php
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class additionallyInfo
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
6
src/contacts.php
Normal file
6
src/contacts.php
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
class contacnts
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace src;
|
|
||||||
|
|
||||||
class fullName
|
class fullName
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user