Defining a Constant : Constant « Language Basics « PHP
- PHP
- Language Basics
- Constant
Defining a Constant
<html>
<head>
<title>Defining a constant</title>
</head>
<body>
<?php
define("USER", "Joe");
print "Welcome ".USER;
?>
</body>
</html>
Related examples in the same category