PHP MYSQL - Syntax - 3
Basic PHP Syntax
A PHP script is executed on the server only, and the plain HTML result is sent back to the browser.
A PHP script can be placed anywhere in the document.
However, A PHP script starts with <?php and ends with ?>:
A PHP file normally contains HTML tags, and some PHP scripting code.
Example
<html>
<body>
<h1>My first PHP page</h1>
<?php
echo "Hello World!";
?>
</body>
</html>
Video