Embedding multiple PHP scripts in a single document : Php Script « Language Basics « PHP
- PHP
- Language Basics
- Php Script
Embedding multiple PHP scripts in a single document
<html>
<head>
<title>
<?
print "PHP-enabled page";
$variable = "Hello World!";
?>
</title></head>
<body>
<? print $variable; ?>
</body>
</html>
Related examples in the same category