Monday, December 6, 2021

PHP Basic Dynamic Content Example - PHP Basics

 










<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PHP Dynamic</title>
</head>
<body>
<?php

$post_title = "This is Post Title";
$post_content = "This is Post Content for blog post";

?>

<h2><?php echo $post_title; ?></h2>
<p><?php echo $post_content; ?></p>

</body>
</html>

0 comments

Post a Comment