Require
<!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>Satgan</h1>
<hr>
<?php
require("gambar.php");
?>
<br> <br>
<?php
require("gambar1.php");
?>
<br> <br>
<?php
require("gambar2.php");
?>
<br>
<hr>
<?php
require("footer.php");
?>
<hr>
</center>
</body>
</html>
Fooster PHP
<?php
echo "Di Jual Sepatu NIKE
Gambar PHP
<?php
echo "<img src='sepatu.png' alt='' width='auto' height='250'";
Gambar1 PHP
<?php
echo "<img src='sepatu1.jpeg' alt='' width='auto' height='250'";
Gambar2 PHP
<?php
echo "<img src='sepatu2.jpeg' alt='' width='auto' height='250'";
Hasil :
![]() |

Tidak ada komentar:
Posting Komentar