-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbukutelp.php
More file actions
53 lines (53 loc) · 1007 Bytes
/
bukutelp.php
File metadata and controls
53 lines (53 loc) · 1007 Bytes
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
44
45
46
47
48
49
50
51
52
53
<html>
<head>
<title>Data Buku Telpon!</title>
</head>
<body>
<?php
echo "<h2>Data Buku Telpon!</h2>";
echo "<hr />";
$abukutelp=array();
$abukutelp[]=array(
"nama"=>"Betha"
,"notelp"=>"08155555"
,"email"=>"betha@.."
);
$abukutelp[]=array(
"nama"=>"Liseu"
,"notelp"=>"08122222"
,"email"=>"liseu@.."
);
$abukutelp[]=array(
"nama"=>"Sabiq"
,"notelp"=>"0817777777"
,"email"=>"sabiq@.."
);
$abukutelp[]=array(
"nama"=>"Sabil"
,"notelp"=>"08566666"
,"email"=>"sabil@.."
);
$abukutelp[]=array(
"nama"=>"Razan"
,"notelp"=>"08111111"
,"email"=>"razan@.."
);
$jdata=sizeof($abukutelp);
echo "<table>";
echo "<tr>";
echo "<th>Nama</th>";
echo "<th>No Telp</th>";
echo "<th>Email</th>";
echo "</tr>";
for($i=0;$i<$jdata;$i++){
$baris=$abukutelp[$i];
echo "<tr>";
echo "<td>".$baris["nama"]."</td>";
echo "<td>".$baris["notelp"]."</td>";
echo "<td>".$baris["email"]."</td>";
echo "</tr>";
}
echo "</table>";
?>
</body>
</html>