<HTML>
<HEAD>Sample PHP Script</HEAD>
<BODY>
<?php
echo "Kaushal Patel is working as SEO";
?>
</BODY>
</HTML>
When the PHP interpreter reached the php tag the server will run the code and send the output to the system. PHP then replaces that PHP code with its output. Thus the output would be as following.
<HTML>
<HEAD>Sample PHP Script</HEAD>
<BODY>
Kaushal Patel is working as SEO
</BODY>
</HTML>
At Last the HTML code is execute the result on your browser.
No comments:
Post a Comment