PHP Programing language

adplus-dvertising
How Can create a Web Page to Mixing HTML and PHP
Previous Home Next

The PHP is a webpage programming ,then one of the charms of PHP is that you can intersperse your PHP code with HTML. That's very cool the HTML will be displayed by your browser, and the PHP will be run on your server-and if that PHP generates some HTML will be displayed in your browser as well.

Then Printing some text , then coding for HTML with PHP.

<html>
<head>
<title>First Program print some text</title>
</head>
<body>
<h1>PHP and HTML Together</h1>
php has to say:
<br>
<?php
echo "welcome to php program with html.";
?>
</body>
</html>

Output:

Previous Home Next