statement require in
statement require in
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PHP Require</title>
</head>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 25px;
}
</style>
<body>
<center>
<h1>Dimas Santuy</h1>
<hr>
<?php
require("gambar.php");
?>
<br>
<hr>
<?php
require("footer.php");
?>
<hr>
</center>
</body>
</html>
gambar.php
<?php
echo "<img src='motor.jpeg' alt='' width='auto' height='300'";
footer.php
<?php
echo "Web Site ini dibuat oleh dimas sanjaya";
hasil :
Komentar
Posting Komentar