-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpersonal-details.php
43 lines (38 loc) · 1.03 KB
/
personal-details.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
$personalDetail = [
"Name" => "Moez Laarif",
"Date of Birth" => "18/06/1994",
"Place of Birth" => "Tunis,Tunisia",
"Address" => "Mutuelleville,Tunis",
"Phone" => "(+216)52 434 852",
"Email" => "[email protected]",
"GitHub Profile" => "https://github.com/moezlaarif"
];
?>
<header>
<div id="haut">
<div id="personal">
<h2>Personal Details</h2>
<?php
$reponse = $bdd->query('SELECT * FROM profil');
while ($donnees = $reponse->fetch())
{
?>
Name <?php echo $donnees['name'] ?><br />
Dates of Birth <?php echo $donnees['date_of_birth'] ?><br />
Place of Birth <?php echo $donnees['place_of_birth'] ?><br />
Address <?php echo $donnees['adress'] ?><br />
Phone <?php echo $donnees['phone'] ?><br />
E-mail <?php echo $donnees['e_mail'] ?><br />
GitHub Profile <?php echo $donnees['github_profile'] ?><br />
<?php
}
$reponse->closeCursor();
?>
</div>
<div class="divphoto">
<img src="images/moez_laarif_avatar.jpg" class="photo" />
</div>
</div>
</header>
<HR SIZE="3" WIDTH="90%" ALIGN="CENTER">