So fügen Sie PHP -Datei in HTML hinzu
!DOCTYPE html
<html>
<body>
<?php
Here you go!
?>
</body>
</html>
Rick Astley
!DOCTYPE html
<html>
<body>
<?php
Here you go!
?>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>How to put PHP in HTML- Date Example</title>
</head>
<body>
<div>This is pure HTML message.</div>
<div>Next, we’ll display today’s date and day by PHP!</div>
<div>
Today’s date is <b><?php echo date('Y/m/d') ?></b> and it’s a <b><?php echo date(‘l’) ?></b> today!
</div>
<div>Again, this is static HTML content.</div>
</body>
</html>