A PHP script is executed on the server, and the plain HTML result is sent back to the browser.
Basic PHP Syntax
A PHP script can be placed anywhere in the document.
A PHP script start with <?php and end with ?>
[message_box color=”yellow”]
<?php
//php code here
?>
[/message_box]
The default file extension for php file is”.php”.
A PHP file normally contains HTML and some PHP scripting code.
[message_box title=”Example” color=”yellow”]
<html>
<body>
<h1>Engineersgallery<h1>
<?php
echo “Hello Engineers!!!!”
?>
</body>
</html>
[/message_box]
[sam id=”4″ codes=”true”]