PHP: Hypertext Preprocessor, is a open source scripting language that is especially suited for web development and can be embedded into HTML. The PHP code is enclosed in special start and end <?php and ?> processing instructions .
PHP is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script.
Example #1 An introductory example
PHP is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script.
Example #1 An introductory example
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I'm a PHP script!";
?>
</body>
</html>
Comments
Post a Comment